* @throws RbacManagerException
* @throws RbacObjectNotFoundException
*/
- @SuppressWarnings( "unchecked" )
public Collection<Role> getEffectivelyUnassignedRoles( String principal )
throws RbacManagerException, RbacObjectNotFoundException
{
* @throws RbacManagerException
* @throws RbacObjectNotFoundException
*/
- @SuppressWarnings( "unchecked" )
public Collection<Role> getUnassignedRoles( String principal )
throws RbacManagerException, RbacObjectNotFoundException
{
}
}
- public Map<String, List<Permission>> getAssignedPermissionMap( String username )
- throws RbacManagerException
- {
- // TODO here !!
- return this.rbacImpl.getAssignedPermissionMap( username );
- }
+ /**
+ * public Map<String, List<Permission>> getAssignedPermissionMap( String username )
+ * throws RbacManagerException
+ * {
+ * return this.rbacImpl.getAssignedPermissionMap( username );
+ * }*
+ */
/*public Set<Permission> getAssignedPermissions( String username )
throws RbacObjectNotFoundException, RbacManagerException
// TODO here !!
return this.rbacImpl.getAssignedPermissions( username );
}*/
-
private List<Role> mapToRoles( List<String> groups )
throws MappingException, RbacManagerException
{
for ( String name : roleNames )
{
- roles.add( new RoleImpl( name ) );
+ roles.add( this.rbacImpl.getRole( name ) );// new RoleImpl( name ) );
}
return roles;
throws RbacManagerException
{
return getAssignedRoles( userAssignment.getPrincipal() );
- //return this.rbacImpl.getAssignedRoles( userAssignment );
}
public Map<String, Role> getChildRoles( Role role )
return this.rbacImpl.getParentRoles( role );
}
+ /**
public Collection<Role> getEffectivelyAssignedRoles( String username )
throws RbacManagerException
{
// TODO here !!
return this.rbacImpl.getEffectivelyAssignedRoles( username );
- }
+ }**/
+ /**
public Collection<Role> getEffectivelyUnassignedRoles( String username )
throws RbacManagerException
{
// TODO here !!
return this.rbacImpl.getEffectivelyUnassignedRoles( username );
- }
+ }**/
public Set<Role> getEffectiveRoles( Role role )
throws RbacManagerException