|
||||||||||
| 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.UnionSecurityContext
class UnionSecurityContext
A simple extension of ChainingSecurityContext that acts merely as a placeholder but considers itself in an "authenticated" state if any of its subcontexts are "authenticated."
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jasig.portal.security.provider.ChainingSecurityContext |
|---|
ChainingSecurityContext.ChainingAdditionalDescriptor, ChainingSecurityContext.ChainingOpaqueCredentials, ChainingSecurityContext.ChainingPrincipal |
| Field Summary | |
|---|---|
private int |
UNION_SECURITY_AUTHTYPE
|
| Fields inherited from class org.jasig.portal.security.provider.ChainingSecurityContext |
|---|
isauth, log, myAdditionalDescriptor, myOpaqueCredentials, myOrder, myPrincipal, mySubContexts, stopWhenAuthenticated |
| Constructor Summary | |
|---|---|
UnionSecurityContext()
|
|
| Method Summary | |
|---|---|
void |
authenticate()
We walk the chain of subcontext assigning principals and opaquecredentials from the parent. |
int |
getAuthType()
Returns the canonical authentication type for this flavor of authentication. |
java.lang.String |
toString()
|
| 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, wait, wait, wait |
| Field Detail |
|---|
private final int UNION_SECURITY_AUTHTYPE
| Constructor Detail |
|---|
UnionSecurityContext()
| Method Detail |
|---|
public int getAuthType()
ISecurityContext
public void authenticate()
throws PortalSecurityException
ChainingSecurityContext
authenticate in interface ISecurityContextauthenticate in class ChainingSecurityContextPortalSecurityExceptionISecurityContext.getPrincipalInstance(),
ISecurityContext.getOpaqueCredentialsInstance()public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||