more information...
This is my SecurityModule
| - Component (org.jboss.seam.security.identity)
| authenticateEveryRequest false
| authenticateMethod [EMAIL PROTECTED]
| class class org.jboss.seam.security.RuleBasedIdentity
| cookieEnabled false
| cookieMaxAge 31536000
| cookiePath /fmtam_idoctor_web
| credentialsSet false
| jaasConfigName
| loggedIn true
| password
| principal reter
| rememberMe false
| securityContext [EMAIL PROTECTED]
| securityRules [EMAIL PROTECTED]
| subject Subject: Principal: reter Principal: [EMAIL PROTECTED]
| username Diego
| toString() [EMAIL PROTECTED]
|
|
and this is my another module
| - Component (org.jboss.seam.security.identity)
| authenticateEveryRequest false
| authenticateMethod
| class class org.jboss.seam.security.RuleBasedIdentity
| cookieEnabled false
| cookieMaxAge 31536000
| cookiePath /fmtam_seguranca_web
| credentialsSet false
| jaasConfigName
| loggedIn false
| password
| principal
| rememberMe false
| securityContext
| securityRules
| subject Subject:
| username
| toString() [EMAIL PROTECTED]
|
obs: i just have 1 authenticator class,
| @Name("authenticator")
| @Scope(ScopeType.SESSION)
| @Stateful
| public class Authenticator implements IAuthenticator {
|
| @Logger
| Log log;
|
| @In
| Identity identity;
|
| public boolean authenticate() {
| System.out.println("Iniciando login SESSION");
| identity.setUsername("Diego");
| log.info("authenticating #0", identity.getUsername());
| identity.addRole("admin");
| Identity.instance().addRole("usuario");
| System.out.println("finalizando login");
| return true;
| }
|
| public Identity getIdentity() {
| return identity;
| }
|
| public void setIdentity(Identity identity) {
| this.identity = identity;
| }
| @Remove
| public void remove(){
| System.out.println("Destruindo stateful");
| }
|
| }
|
if i enable my cookie or set my cookiePath/fmtam_idoctor_web in all
applications, my singleSignOn will work ? how can i do it ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097925#4097925
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097925
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user