public interface AuthInfo
AuthInfo instances provide access to information related
to authentication and authorization of a given content session.
AuthInfo instances are guaranteed to be immutable.| 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.
|
static final AuthInfo EMPTY
@CheckForNull String getUserID()
@Nonnull String[] getAttributeNames()
@CheckForNull Object getAttribute(String attributeName)
null if no attribute
with that attributeName exists.attributeName - The attribute name.null.Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.