Package io.meeds.oauth.jaas
Class OAuthLoginModule
java.lang.Object
org.exoplatform.services.security.jaas.AbstractLoginModule
io.meeds.oauth.jaas.OAuthLoginModule
- All Implemented Interfaces:
LoginModule
public class OAuthLoginModule
extends org.exoplatform.services.security.jaas.AbstractLoginModule
JAAS login module to finish Authentication after successfully finished OAuth
workflow
- Author:
- Marek Posolda
-
Field Summary
Fields inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule
callbackHandler, options, realmName, sharedState, subject -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.services.security.jaas.AbstractLoginModule
afterInitialize, getContainer, initialize
-
Constructor Details
-
OAuthLoginModule
public OAuthLoginModule()
-
-
Method Details
-
getLogger
protected org.exoplatform.services.log.Log getLogger()- Specified by:
getLoggerin classorg.exoplatform.services.security.jaas.AbstractLoginModule
-
login
- Throws:
LoginException
-
commit
- Throws:
LoginException
-
abort
- Throws:
LoginException
-
logout
- Throws:
LoginException
-
establishSecurityContext
protected void establishSecurityContext(org.exoplatform.container.ExoContainer container, String username) throws Exception - Throws:
Exception
-