Class RoleHierarchyImpl.Builder.ImpliedRoles
java.lang.Object
org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl.Builder.ImpliedRoles
- Enclosing class:
- RoleHierarchyImpl.Builder
Builder class for constructing child roles within a role hierarchy branch.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies implied role(s) for the current role in the hierarchy.
-
Method Details
-
implies
Specifies implied role(s) for the current role in the hierarchy.- Parameters:
impliedRoles
- role name(s) implied by the role.- Returns:
- the same
RoleHierarchyImpl.Builder
instance - Throws:
IllegalArgumentException
- ifimpliedRoles
is null, empty or contains any null element.
-