|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.security.provider.ChainingSecurityContext
org.jasig.portal.security.provider.SimpleSecurityContext
public class SimpleSecurityContext
This is an implementation of a SecurityContext that checks a user's credentials against an MD5 hashed password entry.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jasig.portal.security.provider.ChainingSecurityContext |
|---|
ChainingSecurityContext.ChainingAdditionalDescriptor, ChainingSecurityContext.ChainingOpaqueCredentials, ChainingSecurityContext.ChainingPrincipal |
| Field Summary | |
|---|---|
private static org.apache.commons.logging.Log |
log
|
private int |
SIMPLESECURITYAUTHTYPE
|
| Fields inherited from class org.jasig.portal.security.provider.ChainingSecurityContext |
|---|
isauth, myAdditionalDescriptor, myOpaqueCredentials, myOrder, myPrincipal, mySubContexts, stopWhenAuthenticated |
| Constructor Summary | |
|---|---|
SimpleSecurityContext()
|
|
| Method Summary | |
|---|---|
void |
authenticate()
Authenticate user. |
static byte[] |
decode(java.lang.String base64)
|
int |
getAuthType()
Returns the canonical authentication type for this flavor of authentication. |
protected static int |
getValue(char c)
|
| Methods inherited from class org.jasig.portal.security.provider.ChainingSecurityContext |
|---|
addSubContext, doesSubContextExist, getAdditionalDescriptor, getOpaqueCredentials, getOpaqueCredentialsInstance, getPrincipal, getPrincipalInstance, getSubContext, getSubContextNames, getSubContexts, isAuthenticated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jasig.portal.security.ISecurityContext |
|---|
addSubContext, getAdditionalDescriptor, getOpaqueCredentials, getOpaqueCredentialsInstance, getPrincipal, getPrincipalInstance, getSubContext, getSubContextNames, getSubContexts, isAuthenticated |
| Field Detail |
|---|
private static final org.apache.commons.logging.Log log
private final int SIMPLESECURITYAUTHTYPE
| Constructor Detail |
|---|
SimpleSecurityContext()
| Method Detail |
|---|
public int getAuthType()
ISecurityContext
getAuthType in interface ISecurityContext
public void authenticate()
throws PortalSecurityException
authenticate in interface ISecurityContextauthenticate in class ChainingSecurityContextPortalSecurityExceptionISecurityContext.getPrincipalInstance(),
ISecurityContext.getOpaqueCredentialsInstance()public static byte[] decode(java.lang.String base64)
protected static int getValue(char c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||