This content has been marked as final.
Show 2 replies
-
1. Re: Seam authentication via container authentication mechanism on websphere
deadlockgr Jun 22, 2010 10:27 AM (in response to dantheman)Exact same problem here, but on WebLogic. I want to use the container authentication mechanism.
-
2. Re: Seam authentication via container authentication mechanism on websphere
rafaels Jul 15, 2010 3:21 AM (in response to dantheman)For the Weblogic, create a login_jaas.config file and add the lines:
MYLOGIN {
weblogic.security.auth.login.UsernamePasswordLoginModule required debug=true;
};then, in the java.security file of the JRE that Weblogic is running, add the line:
login.config.url.1=file:${java.home}/lib/security/login_jaas.configIn components.xml, add the line
<security:identity jaas-config-name="MYLOGIN"/>You can create the login_jass.config anywhere with any file name, just use the right path in the java.security file. You can use any name for your jass-config-name.