| Modifier and Type | Field and Description |
|---|---|
| private final String | fqn
The fqn. |
| private final Map | groups
The groups. |
| private transient IWindowsIdentity | identity
The identity. |
| private final List | roles
The roles. |
| private static final long | serialVersionUID
The Constant serialVersionUID. |
| private final byte[] | sid
The sid. |
| private final String | sidString
The sid string. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | WindowsPrincipal(final IWindowsIdentity
Windows identity. windowsIdentity, final PrincipalFormat Principal format. principalFormat, final PrincipalFormat Role format. roleFormat)A windows principal. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
Principal to compare with.Overrides java. Implements java. Principal to the specified object.
|
| private static Map | |
| public Map | |
| public IWindowsIdentity | |
| public String | |
| private static List | Returns: A list of user principal objects.Windows identity. windowsIdentity, final PrincipalFormat Principal format. principalFormat)Returns a list of user principal objects. |
| private static List | Returns: List of role principal objects.Windows group. group, final PrincipalFormat Principal format. principalFormat)Returns a list of role principal objects. |
| private static List | Returns: the rolesthe windows identity windowsIdentity, final PrincipalFormat the principal format principalFormat, final PrincipalFormat the role format roleFormat)Gets the roles. |
| public String | |
| public byte[] | |
| public String | |
| public int | hashCode()
Overrides java. Implements java. Principal.
|
| public boolean | |
| public String | toString()
Overrides java. Implements java. Principal.
|
| fqn | back to summary |
|---|---|
| private final String fqn The fqn. | |
| groups | back to summary |
|---|---|
| private final Map<String, WindowsAccount> groups The groups. | |
| identity | back to summary |
|---|---|
| private transient IWindowsIdentity identity The identity. | |
| roles | back to summary |
|---|---|
| private final List<String> roles The roles. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID The Constant serialVersionUID. | |
| sid | back to summary |
|---|---|
| private final byte[] sid The sid. | |
| sidString | back to summary |
|---|---|
| private final String sidString The sid string. | |
| WindowsPrincipal | back to summary |
|---|---|
| public WindowsPrincipal(final IWindowsIdentity windowsIdentity) A windows principal.
| |
| WindowsPrincipal | back to summary |
|---|---|
| public WindowsPrincipal(final IWindowsIdentity windowsIdentity, final PrincipalFormat principalFormat, final PrincipalFormat roleFormat) A windows principal.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Implements java. Doc from java. Compares this | |
| getGroups | back to summary |
|---|---|
| private static Map Gets the groups.
| |
| getGroups | back to summary |
|---|---|
| public Map Windows groups that the user is a member of.
| |
| getIdentity | back to summary |
|---|---|
| public IWindowsIdentity getIdentity() Underlying identity.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Fully qualified name. | |
| getPrincipalNames | back to summary |
|---|---|
| private static List Returns a list of user principal objects.
| |
| getRoleNames | back to summary |
|---|---|
| private static List Returns a list of role principal objects.
| |
| getRoles | back to summary |
|---|---|
| private static List Gets the roles.
| |
| getRolesString | back to summary |
|---|---|
| public String getRolesString() Get an array of roles as a string.
| |
| getSid | back to summary |
|---|---|
| public byte[] getSid() Byte representation of the SID.
| |
| getSidString | back to summary |
|---|---|
| public String getSidString() String representation of the SID.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns a hashcode for this
| |
| hasRole | back to summary |
|---|---|
| public boolean hasRole(final String role) Checks whether the principal has a given role.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements java. Doc from java. Returns a string representation of this | |