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
public class SecurityInfo<T extends SecurityInfo> extends Object implements Cloneable
- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityInfo.EmptyRoleSemanticEquivalent toServletSecurity.EmptyRoleSemanticbut with an additional mode to require authentication but no role check.
-
Constructor Summary
Constructors Constructor Description SecurityInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaddRoleAllowed(String role)TaddRolesAllowed(String... roles)TaddRolesAllowed(Collection<String> roles)Tclone()protected TcreateInstance()SecurityInfo.EmptyRoleSemanticgetEmptyRoleSemantic()Set<String>getRolesAllowed()TransportGuaranteeTypegetTransportGuaranteeType()TsetEmptyRoleSemantic(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic)TsetTransportGuaranteeType(TransportGuaranteeType transportGuaranteeType)
-
-
-
Method Detail
-
getEmptyRoleSemantic
public SecurityInfo.EmptyRoleSemantic getEmptyRoleSemantic()
-
setEmptyRoleSemantic
public T setEmptyRoleSemantic(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic)
-
getTransportGuaranteeType
public TransportGuaranteeType getTransportGuaranteeType()
-
setTransportGuaranteeType
public T setTransportGuaranteeType(TransportGuaranteeType transportGuaranteeType)
-
addRolesAllowed
public T addRolesAllowed(Collection<String> roles)
-
createInstance
protected T createInstance()
-
-