Interface UserDefinitionAuthoritiesProvider
-
- All Known Implementing Classes:
UserDefinitionAuthoritiesProviderImpl
public interface UserDefinitionAuthoritiesProvider
A custom provider ofGrantedAuthority
based on an id from a user definition.- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Collection<? extends GrantedAuthority>
findGrantedAuthorities(String userDefinitionId)
Deprecated.usefindGrantedAuthorities(String, String)
insteadCollection<? extends GrantedAuthority>
findGrantedAuthorities(String userDefinitionKey, String tenantId)
All the authorities for the givenuserDefinitionKey
in the giventenantId
-
-
-
Method Detail
-
findGrantedAuthorities
@Deprecated Collection<? extends GrantedAuthority> findGrantedAuthorities(String userDefinitionId)
Deprecated.usefindGrantedAuthorities(String, String)
insteadAll the authorities for the givenuserDefinitionId
- Parameters:
userDefinitionId
- the id of the user definition for which we need to fetch authorities- Returns:
- the granted authorities for the given
userDefinitionId
-
findGrantedAuthorities
Collection<? extends GrantedAuthority> findGrantedAuthorities(String userDefinitionKey, String tenantId)
All the authorities for the givenuserDefinitionKey
in the giventenantId
- Parameters:
userDefinitionKey
- the id of the user definition for which we need to fetch authoritiestenantId
- the tenant id in which the user definition should be located- Returns:
- the granted authorities for the given
userDefinitionKey
-
-