[jboss-dev-forums] [JBoss AS7 Development] - wrong login configuration provider for custom authenticator
c go
do-not-reply at jboss.com
Thu May 12 08:59:09 EDT 2011
c go [http://community.jboss.org/people/goc] created the discussion
"wrong login configuration provider for custom authenticator"
To view the discussion, visit: http://community.jboss.org/message/604939#604939
--------------------------------------------------------------
Hi,
I run into trouble using my own authenticator. I think that I found the error debugging the process, but the solution is missing ...
Processing the authentication process using my custom authenticator, the wrong configuration (class) is loaded.
Testing the AS7 Beta4 using BASIC authentication, the "org.jboss.security.auth.login.XMLConfigImpl" class is used to load the configuration - using my own authentication, the "com.sun.security.auth.login.ConfigFile" class is used.
But the ConfigFile class doesn't load/provide the LoginModules specified in the XML configuration (standalone.xml).
I already tried to specifie the property "login.configuration.provider" in my standalone.xml file.
<system-properties>
<property name="login.configuration.provider" value="org.jboss.security.auth.login.XMLConfigImpl"/>
</system-properties>
But this has no effect.
Did I miss some other configuration file?
The problem remains the same when I pass the property directly to the jvm.
Is there another possibility to specify the login configuration provider.
Also, I don't understand why there is a difference between the BASIC authenticator and mine.
Any idea?
Thx for the help & sorry for my English
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/604939#604939]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110512/8d7a224a/attachment.html
More information about the jboss-dev-forums
mailing list