| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
static AuthInfo |
createFromSubject(@NotNull Subject subject) |
Object |
getAttribute(String attributeName)
Returns the attribute with the given name or
null if no attribute
with that attributeName exists. |
@NotNull String[] |
getAttributeNames()
Returns the attribute names associated with this instance.
|
@NotNull 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 AuthInfoImpl(@Nullable
@Nullable String userID,
@Nullable
@Nullable Map<String,?> attributes,
@Nullable
@Nullable Set<? extends Principal> principals)
public String getUserID()
AuthInfo@NotNull public @NotNull 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.@NotNull public @NotNull Set<Principal> getPrincipals()
AuthInfoAuthInfo instance.getPrincipals in interface AuthInfoCopyright © 2010 - 2020 Adobe. All Rights Reserved