Constructor and Description |
---|
AuthInfoImpl(String userID,
Map<String,?> attributes,
Set<? extends Principal> principals) |
Modifier and Type | Method and Description |
---|---|
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()
AuthInfo
public String[] getAttributeNames()
AuthInfo
getAttributeNames
in interface AuthInfo
public Object getAttribute(String attributeName)
AuthInfo
null
if no attribute
with that attributeName
exists.getAttribute
in interface AuthInfo
attributeName
- The attribute name.null
.public Set<Principal> getPrincipals()
AuthInfo
AuthInfo
instance.getPrincipals
in interface AuthInfo
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"