Package com.atlassian.crowd.user
Interface UserAuthoritiesProvider
- All Known Implementing Classes:
UserAuthoritiesProviderImpl
public interface UserAuthoritiesProvider
Manually handle username to authorities mapping, rather than depending on the groups they belong to
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthorityNames
(String username) Provides a list of authority names for the given user.
-
Method Details
-
getAuthorityNames
Provides a list of authority names for the given user. eg. ROLE_SYS_ADMIN- Parameters:
username
- user to request- Returns:
- list of authority names
-