org.teiid.services
Class TeiidLoginContext
java.lang.Object
org.teiid.services.TeiidLoginContext
public class TeiidLoginContext
- extends java.lang.Object
This class serves as the primary implementation of the
Membership Service. Based on the security domains specified this class delegates the responsibility of
authenticating user to those security domains in the order they are defined.
|
Field Summary |
static java.lang.String |
AT
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AT
public static final java.lang.String AT
- See Also:
- Constant Field Values
TeiidLoginContext
public TeiidLoginContext()
authenticateUser
public void authenticateUser(java.lang.String username,
Credentials credential,
java.lang.String applicationName,
java.util.List<java.lang.String> domains)
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
createLoginContext
protected javax.security.auth.login.LoginContext createLoginContext(java.lang.String domain,
javax.security.auth.callback.CallbackHandler handler)
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
getLoginContext
public javax.security.auth.login.LoginContext getLoginContext()
getUserName
public java.lang.String getUserName()
getSecurityDomain
public java.lang.String getSecurityDomain()
getSecurityContext
public java.lang.Object getSecurityContext(SecurityHelper helper)
Copyright © 2010. All Rights Reserved.