org.acegisecurity.acls.sid
public class PrincipalSid extends java.lang.Object implements Sid
Authentication.getPrincipal()
as a Sid
.This is a basic implementation
that simply uses the String
-based principal for Sid
comparison. More complex principal
objects may wish to provide an alternative Sid
implementation that uses some other identifier.
Constructor and Description |
---|
PrincipalSid(Authentication authentication) |
PrincipalSid(java.lang.String principal) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Refer to the
java.lang.Object documentation for the interface contract. |
java.lang.String |
getPrincipal() |
java.lang.String |
toString() |
public PrincipalSid(java.lang.String principal)
public PrincipalSid(Authentication authentication)
public boolean equals(java.lang.Object object)
Sid
java.lang.Object
documentation for the interface contract.public java.lang.String getPrincipal()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2014 Interface21, Inc. All Rights Reserved.