|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutableAclSid
Mutable extension of the Sid (security id) interface. This
interface supports both principal and granted authority based
Sid in a single interface. There is no need for separate
implementations.
org.acegisecurity.acls.sid.Sid| Method Summary | |
|---|---|
String |
getGrantedAuthority()
Gets the Sid as a String if this instance
has been created using a granted authority. |
String |
getPrincipal()
Gets the Sid as a String if this instance
has been created using a principal. |
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 interface org.springframework.security.acls.sid.Sid |
|---|
equals, hashCode |
| Methods inherited from interface net.sf.sail.webapp.domain.Persistable |
|---|
getId |
| Method Detail |
|---|
Boolean isPrincipal()
Sid was created as a
principal.
true 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.String getPrincipal()
Sid as a String if this instance
has been created using a principal.
UnsupportedOperationException - if this instance of Sid is not a principalvoid setPrincipal(org.springframework.security.Authentication authentication)
Sid using an Authentication
principal.
authentication - to setvoid setGrantedAuthority(org.springframework.security.GrantedAuthority grantedAuthority)
Sid using a GrantedAuthority.
grantedAuthority - to setString getGrantedAuthority()
Sid as a String if this instance
has been created using a granted authority.
UnsupportedOperationException - if this instance of Sid is not a granted authority
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||