|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.authentication.AlfrescoSecureContextImpl
public class AlfrescoSecureContextImpl
Hold an Alfresco extended security context
Constructor Summary | |
---|---|
AlfrescoSecureContextImpl()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
net.sf.acegisecurity.Authentication |
getAuthentication()
ACEGI |
net.sf.acegisecurity.Authentication |
getEffectiveAuthentication()
Get the effective authentication - used for permission checks |
net.sf.acegisecurity.Authentication |
getRealAuthentication()
Get the real authenticaiton - used for auditing and everything else |
int |
hashCode()
|
void |
setAuthentication(net.sf.acegisecurity.Authentication newAuthentication)
ACEGI |
void |
setEffectiveAuthentication(net.sf.acegisecurity.Authentication effictiveAuthentication)
Set the effective authentication held by the context |
void |
setRealAuthentication(net.sf.acegisecurity.Authentication realAuthentication)
Set the real authentication held by the context |
java.lang.String |
toString()
|
void |
validate()
ACEGI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AlfrescoSecureContextImpl()
Method Detail |
---|
public net.sf.acegisecurity.Authentication getAuthentication()
getAuthentication
in interface net.sf.acegisecurity.context.security.SecureContext
public void setAuthentication(net.sf.acegisecurity.Authentication newAuthentication)
setAuthentication
in interface net.sf.acegisecurity.context.security.SecureContext
public void validate() throws net.sf.acegisecurity.context.ContextInvalidException
validate
in interface net.sf.acegisecurity.context.Context
net.sf.acegisecurity.context.ContextInvalidException
public net.sf.acegisecurity.Authentication getEffectiveAuthentication()
AlfrescoSecureContext
getEffectiveAuthentication
in interface AlfrescoSecureContext
public net.sf.acegisecurity.Authentication getRealAuthentication()
AlfrescoSecureContext
getRealAuthentication
in interface AlfrescoSecureContext
public void setEffectiveAuthentication(net.sf.acegisecurity.Authentication effictiveAuthentication)
AlfrescoSecureContext
setEffectiveAuthentication
in interface AlfrescoSecureContext
public void setRealAuthentication(net.sf.acegisecurity.Authentication realAuthentication)
AlfrescoSecureContext
setRealAuthentication
in interface AlfrescoSecureContext
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
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 |