public interface UserDefinitionAuthoritiesProvider
GrantedAuthority
based on an id from a user definition.Modifier and Type | Method and Description |
---|---|
Collection<? extends GrantedAuthority> |
findGrantedAuthorities(String userDefinitionId)
Deprecated.
use
findGrantedAuthorities(String, String) instead |
Collection<? extends GrantedAuthority> |
findGrantedAuthorities(String userDefinitionKey,
String tenantId)
All the authorities for the given
userDefinitionKey in the given tenantId |
@Deprecated Collection<? extends GrantedAuthority> findGrantedAuthorities(String userDefinitionId)
findGrantedAuthorities(String, String)
insteaduserDefinitionId
userDefinitionId
- the id of the user definition for which we need to fetch authoritiesuserDefinitionId
Collection<? extends GrantedAuthority> findGrantedAuthorities(String userDefinitionKey, String tenantId)
userDefinitionKey
in the given tenantId
userDefinitionKey
- the id of the user definition for which we need to fetch authoritiestenantId
- the tenant id in which the user definition should be locateduserDefinitionKey