com.xebialabs.deployit.security
Interface RoleService

All Known Implementing Classes:
RoleServiceImpl

public interface RoleService


Method Summary
 Role getRoleForRoleName(java.lang.String roleName)
           
 java.util.List<Role> getRolesFor(org.springframework.security.core.Authentication auth)
           
 java.util.List<Role> getRolesFor(java.lang.String principal)
           
 java.util.List<Role> readRoleAssignments()
           
 java.util.List<Role> readRoles()
           
 void writeRoleAssignments(java.util.List<Role> roles)
           
 

Method Detail

readRoles

java.util.List<Role> readRoles()

readRoleAssignments

java.util.List<Role> readRoleAssignments()

writeRoleAssignments

void writeRoleAssignments(java.util.List<Role> roles)

getRolesFor

java.util.List<Role> getRolesFor(java.lang.String principal)

getRolesFor

java.util.List<Role> getRolesFor(org.springframework.security.core.Authentication auth)

getRoleForRoleName

Role getRoleForRoleName(java.lang.String roleName)