- All Known Implementing Classes:
FqnGrantedAuthorityFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used by
WindowsAuthenticationToken to convert WindowsAccounts representing groups into
GrantedAuthoritys.-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.GrantedAuthoritycreateGrantedAuthority(WindowsAccount windowsAccount) Creates aGrantedAuthorityfrom the givenWindowsAccount.
-
Method Details
-
createGrantedAuthority
org.springframework.security.core.GrantedAuthority createGrantedAuthority(WindowsAccount windowsAccount) Creates aGrantedAuthorityfrom the givenWindowsAccount.- Parameters:
windowsAccount- the windows account- Returns:
- the granted authority
-