Class AuthInfoImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.AuthInfoImpl
-
- All Implemented Interfaces:
org.apache.jackrabbit.oak.api.AuthInfo
public final class AuthInfoImpl extends Object implements org.apache.jackrabbit.oak.api.AuthInfo
Default implementation of the AuthInfo interface.
-
-
Constructor Summary
Constructors Constructor Description AuthInfoImpl(@Nullable String userID, @Nullable Map<String,?> attributes, @Nullable Iterable<? extends Principal> principals)AuthInfoImpl(@Nullable String userID, @Nullable Map<String,?> attributes, @Nullable Set<? extends Principal> principals)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.jackrabbit.oak.api.AuthInfocreateFromSubject(@NotNull Subject subject)ObjectgetAttribute(String attributeName)@NotNull String[]getAttributeNames()@NotNull Set<Principal>getPrincipals()StringgetUserID()StringtoString()
-
-
-
Method Detail
-
createFromSubject
public static org.apache.jackrabbit.oak.api.AuthInfo createFromSubject(@NotNull @NotNull Subject subject)
-
getUserID
public String getUserID()
- Specified by:
getUserIDin interfaceorg.apache.jackrabbit.oak.api.AuthInfo
-
getAttributeNames
@NotNull public @NotNull String[] getAttributeNames()
- Specified by:
getAttributeNamesin interfaceorg.apache.jackrabbit.oak.api.AuthInfo
-
getAttribute
public Object getAttribute(String attributeName)
- Specified by:
getAttributein interfaceorg.apache.jackrabbit.oak.api.AuthInfo
-
-