We are using BRMS on Weblogic 9.2 and we want to use JAAS
authentication. We have configured components.xml to include the line:
<security:identity authenticate-method="#{authenticator.authenticate}"
jaas-config-name="myrealm"/>
We get an error message "An error has occurred on the server. See
serverl log for details."
The server log shows
<26-Oct-2007 15:22:32 o'clock BST> <Error>
<ServletContext-/drools2>
<000000> <E
xception while dispatching incoming RPC call
java.lang.IllegalArgumentException: No Configuration was registered that
can han
dle the configuration named myrealm
at
com.bea.common.security.jdkutils.JAASConfiguration.getAppConfiguratio
nEntry(JAASConfiguration.java:103)
at
javax.security.auth.login.LoginContext.init(LoginContext.java:243)
at
javax.security.auth.login.LoginContext.<init>(LoginContext.java:367)
at
javax.security.auth.login.LoginContext.<init>(LoginContext.java:444)
at
org.jboss.seam.security.Identity.getLoginContext(Identity.java:313)
Truncated. see log file for complete stacktrace
"myrealm" is what weblogic call a security realm is the same as a jaas
configuration name.
Regards Trevor Harris.