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