Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add security domain to Red Hat Single Sign On (keycloak) #76

Open
mosegediLerato opened this issue Nov 28, 2018 · 3 comments
Open

Add security domain to Red Hat Single Sign On (keycloak) #76

mosegediLerato opened this issue Nov 28, 2018 · 3 comments

Comments

@mosegediLerato
Copy link

When trying to add my own Database to the KeycloakDS, I get the error below:

2018-11-28 15:04:26:0211: stderr:
2018-11-28 15:04:26:0211: stdout:The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
Step: step-9
Operation: /subsystem=datasources/data-source=KeycloakDS:write-attribute(name=security-domain,value="KeycloakDS")
Failure: WFLYCTL0105: security-domain is invalid in combination with user-name
2018-11-28 15:04:26:0212: Return:The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
Step: step-9
Operation: /subsystem=datasources/data-source=KeycloakDS:write-attribute(name=security-domain,value="KeycloakDS")
Failure: WFLYCTL0105: security-domain is invalid in combination with user-name

@bserdar
Copy link
Owner

bserdar commented Nov 28, 2018

I'm guessing here, but maybe you're setting user-name and security-domain, and it says "security domain is invalid in combination with user-name". Maybe you should not be setting user-name?

@mosegediLerato
Copy link
Author

Hi bserdar,

We find Red Hat Single Sign-On 7.2.0 Server with KeyCloakDS already configure and they use the username and password (security) but we want to change some of it's values such as the database and also use the security-domain. We want to do all of this through puppet. Therefore I was hoping there is a way to remove the username and password when setting the security domain

@bserdar
Copy link
Owner

bserdar commented Nov 29, 2018

Could you try setting username/pwd to "deleted" (in quotes)? or to undefined (not in quotes)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants