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.

@FunctionalInterface public interface GrantedAuthorityFactory
Used by WindowsAuthenticationToken to convert WindowsAccounts representing groups into GrantedAuthoritys.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.GrantedAuthority
    Creates a GrantedAuthority from the given WindowsAccount.
  • Method Details

    • createGrantedAuthority

      org.springframework.security.core.GrantedAuthority createGrantedAuthority(WindowsAccount windowsAccount)
      Creates a GrantedAuthority from the given WindowsAccount.
      Parameters:
      windowsAccount - the windows account
      Returns:
      the granted authority