当前页面:
在线文档首页 >
JBoss Seam 1.1.0 bate1 API 英文版文档
SeamLoginModule (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档
org.jboss.seam.security.adapter.jboss
Class SeamLoginModule
java.lang.Object
org.jboss.seam.security.adapter.jboss.SeamLoginModule
- All Implemented Interfaces:
- LoginModule
public class SeamLoginModule
- extends Object
- implements LoginModule
- Author:
- Shane Bryzak
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamLoginModule
public SeamLoginModule()
abort
public boolean abort()
- Specified by:
abort in interface LoginModule
commit
public boolean commit()
- Specified by:
commit in interface LoginModule
- Returns:
- boolean
createGroup
protected Group createGroup(String name,
Set<Principal> principals)
throws Exception
- Parameters:
name - Stringprincipals - Set
- Returns:
- Group
- Throws:
Exception
getRoleSets
protected Group[] getRoleSets()
throws Exception
- Returns:
- Group[]
- Throws:
LoginException
Exception
createIdentity
protected Principal createIdentity(String username)
throws Exception
- Parameters:
username - String
- Returns:
- Principal
- Throws:
Exception
initialize
public void initialize(Subject subject,
CallbackHandler handler,
Map sharedState,
Map options)
- Specified by:
initialize in interface LoginModule
- Parameters:
subject - Subjecthandler - CallbackHandlersharedState - Mapoptions - Map
login
public boolean login()
throws LoginException
- Specified by:
login in interface LoginModule
- Returns:
- boolean
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Specified by:
logout in interface LoginModule
- Returns:
- boolean
- Throws:
LoginException