[
https://issues.jboss.org/browse/TEIID-3013?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-3013:
---------------------------------------
This seemed straight-forward, just adding
{code}
<login-module code="RealmDirect" flag="sufficient">
<module-option name="password-stacking"
value="useFirstPass"/>
</login-module>
{code}
Into the standalone xml, but the cli scripting is tripping me up.
In the standalone cli both the current add of the login module and my update fail with
"Operation 'add' does not expect any property."
{code}
/subsystem=security/security-domain=teiid-security/authentication=classic:add(login-modules=[{"code"=>"org.jboss.security.auth.spi.UsersRolesLoginModule",
"flag"=>"required",
"module-options"=>[("usersProperties"=>"${jboss.server.config.dir}/teiid-security-users.properties"),
("rolesProperties"=>"${jboss.server.config.dir}/teiid-security-roles.properties")]}])
/subsystem=security/security-domain=teiid-security/authentication=classic:add(login-modules=[{"code"=>"org.jboss.security.auth.spi.RealmDirectLoginModule",
"flag"=>"sufficient",
"module-options"=>[("usersProperties"=>"${jboss.server.config.dir}/teiid-security-users.properties")]},{"code"=>"org.jboss.security.auth.spi.UsersRolesLoginModule",
"flag"=>"required",
"module-options"=>[("usersProperties"=>"${jboss.server.config.dir}/teiid-security-users.properties"),
("rolesProperties"=>"${jboss.server.config.dir}/teiid-security-roles.properties")]}])
{code}
Ramesh do you want to take this one or know what is going on there?
Add realm authentication to teiid-security
------------------------------------------
Key: TEIID-3013
URL:
https://issues.jboss.org/browse/TEIID-3013
Project: Teiid
Issue Type: Quality Risk
Security Level: Public(Everyone can see)
Components: Server
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.7.1, 8.8
To allow teiid to use users added by the console by default we should add the RealmDirect
login module to the teiid-security security domain.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)