| Constructor and Description |
|---|
AuthInfoImpl(String userID,
Map<String,?> attributes,
Set<? extends Principal> principals) |
| Modifier and Type | Method and Description |
|---|---|
static AuthInfo |
createFromSubject(Subject subject) |
Object |
getAttribute(String attributeName)
Returns the attribute with the given name or
null if no attribute
with that attributeName exists. |
String[] |
getAttributeNames()
Returns the attribute names associated with this instance.
|
Set<Principal> |
getPrincipals()
Returns the set of principals associated with this
AuthInfo instance. |
String |
getUserID()
Return the user ID to be exposed on the JCR Session object.
|
String |
toString() |
public String getUserID()
AuthInfopublic String[] getAttributeNames()
AuthInfogetAttributeNames in interface AuthInfopublic Object getAttribute(String attributeName)
AuthInfonull if no attribute
with that attributeName exists.getAttribute in interface AuthInfoattributeName - The attribute name.null.public Set<Principal> getPrincipals()
AuthInfoAuthInfo instance.getPrincipals in interface AuthInfo"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"