Package org.molgenis.data.security
Class DataserviceRoleHierarchy
- java.lang.Object
-
- org.molgenis.data.security.DataserviceRoleHierarchy
-
- All Implemented Interfaces:
org.springframework.security.access.hierarchicalroles.RoleHierarchy
public class DataserviceRoleHierarchy extends Object implements org.springframework.security.access.hierarchicalroles.RoleHierarchy
-
-
Constructor Summary
Constructors Constructor Description DataserviceRoleHierarchy(DataService dataService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableMap<org.springframework.security.core.GrantedAuthority,com.google.common.collect.ImmutableSet<org.springframework.security.core.GrantedAuthority>>getAllGrantedAuthorityInclusions()Collection<? extends org.springframework.security.core.GrantedAuthority>getReachableGrantedAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
-
Constructor Detail
-
DataserviceRoleHierarchy
public DataserviceRoleHierarchy(DataService dataService)
-
-
Method Detail
-
getReachableGrantedAuthorities
public Collection<? extends org.springframework.security.core.GrantedAuthority> getReachableGrantedAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
- Specified by:
getReachableGrantedAuthoritiesin interfaceorg.springframework.security.access.hierarchicalroles.RoleHierarchy
-
getAllGrantedAuthorityInclusions
public com.google.common.collect.ImmutableMap<org.springframework.security.core.GrantedAuthority,com.google.common.collect.ImmutableSet<org.springframework.security.core.GrantedAuthority>> getAllGrantedAuthorityInclusions()
-
-