public class FqnGrantedAuthorityFactory extends java.lang.Object implements GrantedAuthorityFactory
GrantedAuthorityFactory that uses the WindowsAccount's fqn as the basis of the
GrantedAuthority string, and (optionally) applies two transformations:
| Constructor and Description |
|---|
FqnGrantedAuthorityFactory(java.lang.String prefix,
boolean convertToUpperCase) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.GrantedAuthority |
createGrantedAuthority(waffle.windows.auth.WindowsAccount windowsAccount)
Creates a
GrantedAuthority from the given WindowsAccount. |
public FqnGrantedAuthorityFactory(java.lang.String prefix,
boolean convertToUpperCase)
public org.springframework.security.core.GrantedAuthority createGrantedAuthority(waffle.windows.auth.WindowsAccount windowsAccount)
GrantedAuthorityFactoryGrantedAuthority from the given WindowsAccount.createGrantedAuthority in interface GrantedAuthorityFactory