public class GenericWindowsPrincipal
extends org.apache.catalina.realm.GenericPrincipal
| Constructor and Description |
|---|
GenericWindowsPrincipal(IWindowsIdentity windowsIdentity,
PrincipalFormat principalFormat,
PrincipalFormat roleFormat)
A windows principal.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,WindowsAccount> |
getGroups()
Windows groups that the user is a member of.
|
String |
getRolesString()
Get an array of roles as a string.
|
byte[] |
getSid()
Byte representation of the SID.
|
String |
getSidString()
String representation of the SID.
|
getGssCredential, getName, getPassword, getRoles, getUserPrincipal, hasRole, logout, setGssCredential, toStringpublic GenericWindowsPrincipal(IWindowsIdentity windowsIdentity, PrincipalFormat principalFormat, PrincipalFormat roleFormat)
windowsIdentity - Windows identity.principalFormat - Principal format.roleFormat - Role format.public byte[] getSid()
public String getSidString()
public Map<String,WindowsAccount> getGroups()
public String getRolesString()
Copyright © 2014. All Rights Reserved.