Package io.undertow.servlet.api
Class SecurityInfo<T extends SecurityInfo>
java.lang.Object
io.undertow.servlet.api.SecurityInfo<T>
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
HttpMethodSecurityInfo
,SecurityConstraint
,ServletSecurityInfo
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Equivalent toServletSecurity.EmptyRoleSemantic
but with an additional mode to require authentication but no role check. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRoleAllowed
(String role) addRolesAllowed
(String... roles) addRolesAllowed
(Collection<String> roles) clone()
protected T
setEmptyRoleSemantic
(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic) setTransportGuaranteeType
(TransportGuaranteeType transportGuaranteeType)