Package waffle.spring
Interface GrantedAuthorityFactory
- 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 WindowsAccount
s representing groups into
GrantedAuthority
s.-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.GrantedAuthority
createGrantedAuthority
(WindowsAccount windowsAccount) Creates aGrantedAuthority
from the givenWindowsAccount
.
-
Method Details
-
createGrantedAuthority
org.springframework.security.core.GrantedAuthority createGrantedAuthority(WindowsAccount windowsAccount) Creates aGrantedAuthority
from the givenWindowsAccount
.- Parameters:
windowsAccount
- the windows account- Returns:
- the granted authority
-