public class GenericWindowsPrincipal
extends org.apache.catalina.realm.GenericPrincipal
| Constructor and Description |
|---|
GenericWindowsPrincipal(waffle.windows.auth.IWindowsIdentity newWindowsIdentity,
org.apache.catalina.Realm newRealm,
waffle.windows.auth.PrincipalFormat newPrincipalFormat,
waffle.windows.auth.PrincipalFormat newRoleFormat)
A windows principal.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,waffle.windows.auth.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.
|
getName, getPassword, getRealm, getRoles, getUserPrincipal, hasRole, logout, toStringpublic GenericWindowsPrincipal(waffle.windows.auth.IWindowsIdentity newWindowsIdentity,
org.apache.catalina.Realm newRealm,
waffle.windows.auth.PrincipalFormat newPrincipalFormat,
waffle.windows.auth.PrincipalFormat newRoleFormat)
newWindowsIdentity - Windows identity.newRealm - Authentication realm.newPrincipalFormat - Principal format.newRoleFormat - Role format.public byte[] getSid()
public String getSidString()
public Map<String,waffle.windows.auth.WindowsAccount> getGroups()
public String getRolesString()
Copyright © 2010-2014 com.github.dblock. All Rights Reserved.