public final class AuthInfoImpl extends Object implements org.apache.jackrabbit.oak.api.AuthInfo
EMPTY| Constructor and Description |
|---|
AuthInfoImpl(String userID,
Map<String,?> attributes,
Set<? extends Principal> principals) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jackrabbit.oak.api.AuthInfo |
createFromSubject(Subject subject) |
Object |
getAttribute(String attributeName) |
String[] |
getAttributeNames() |
Set<Principal> |
getPrincipals() |
String |
getUserID() |
String |
toString() |
public static org.apache.jackrabbit.oak.api.AuthInfo createFromSubject(@Nonnull Subject subject)
public String getUserID()
getUserID in interface org.apache.jackrabbit.oak.api.AuthInfo@Nonnull public String[] getAttributeNames()
getAttributeNames in interface org.apache.jackrabbit.oak.api.AuthInfopublic Object getAttribute(String attributeName)
getAttribute in interface org.apache.jackrabbit.oak.api.AuthInfo@Nonnull public Set<Principal> getPrincipals()
getPrincipals in interface org.apache.jackrabbit.oak.api.AuthInfoCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.