|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sail.webapp.domain.authentication.impl.PersistentAclSid
public class PersistentAclSid
Concrete implementation of MutableAclSid marked with EJB3
annotations for persistence.
org.acegisecurity.acls.sid.Sid,
Serialized Form| Field Summary | |
|---|---|
static String |
COLUMN_NAME_SID
|
static String |
DATA_STORE_NAME
|
| Constructor Summary | |
|---|---|
PersistentAclSid()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getGrantedAuthority()
Gets the Sid as a String if this instance
has been created using a granted authority. |
Long |
getId()
Primary identifier that is unique for each different object instance. |
String |
getPrincipal()
Gets the Sid as a String if this instance
has been created using a principal. |
int |
hashCode()
|
Boolean |
isPrincipal()
Tests whether this instance of Sid was created as a
principal. |
void |
setGrantedAuthority(org.springframework.security.GrantedAuthority grantedAuthority)
Sets the Sid using a GrantedAuthority. |
void |
setPrincipal(org.springframework.security.Authentication authentication)
Sets the Sid using an Authentication
principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DATA_STORE_NAME
public static final String COLUMN_NAME_SID
| Constructor Detail |
|---|
public PersistentAclSid()
| Method Detail |
|---|
public Boolean isPrincipal()
MutableAclSidSid was created as a
principal.
isPrincipal in interface MutableAclSidtrue if this instance of Sid has
been created using a principal, false if this has
been created using a granted authority, and null
if this instance has not been initialized properly.MutableAclSid.isPrincipal()public String getPrincipal()
MutableAclSidSid as a String if this instance
has been created using a principal.
getPrincipal in interface MutableAclSidMutableAclSid.getPrincipal()public void setPrincipal(org.springframework.security.Authentication authentication)
MutableAclSidSid using an Authentication
principal.
setPrincipal in interface MutableAclSidauthentication - to setnet.sf.sail.webapp.domain.authentication.MutableAclSid#setPrincipal(org.acegisecurity.Authentication)public void setGrantedAuthority(org.springframework.security.GrantedAuthority grantedAuthority)
MutableAclSidSid using a GrantedAuthority.
setGrantedAuthority in interface MutableAclSidgrantedAuthority - to setnet.sf.sail.webapp.domain.authentication.MutableAclSid#setGrantedAuthority(org.acegisecurity.GrantedAuthority)public String getGrantedAuthority()
MutableAclSidSid as a String if this instance
has been created using a granted authority.
getGrantedAuthority in interface MutableAclSidMutableAclSid.getGrantedAuthority()public Long getId()
Persistable
getId in interface PersistableSerializable IDPersistable.getId()public int hashCode()
hashCode in interface org.springframework.security.acls.sid.SidhashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in interface org.springframework.security.acls.sid.Sidequals in class ObjectObject.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||