com.atlassian.crowd.user
Interface UserAuthoritiesProvider


public interface UserAuthoritiesProvider

Manually handle username -> authorities mapping, rather than depending on the groups they belong to


Method Summary
 List<String> getAuthorityNames(String username)
          Provides a list of authority names for the given user.
 

Method Detail

getAuthorityNames

List<String> getAuthorityNames(String username)
Provides a list of authority names for the given user. eg. ROLE_SYS_ADMIN or ROLE_ADMIN

Parameters:
username - user to request
Returns:
list of authority names


Copyright © 2013 Atlassian. All Rights Reserved.