java.lang.Cloneable
HttpMethodSecurityInfo
, SecurityConstraint
, ServletSecurityInfo
public class SecurityInfo<T extends SecurityInfo>
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class | Description |
---|---|---|
static class |
SecurityInfo.EmptyRoleSemantic |
Equivalent to
ServletSecurity.EmptyRoleSemantic but with an additional mode to require authentication but no role
check. |
Constructor | Description |
---|---|
SecurityInfo() |
Modifier and Type | Method | Description |
---|---|---|
T |
addRoleAllowed(java.lang.String role) |
|
T |
addRolesAllowed(java.lang.String... roles) |
|
T |
addRolesAllowed(java.util.Collection<java.lang.String> roles) |
|
T |
clone() |
|
protected T |
createInstance() |
|
SecurityInfo.EmptyRoleSemantic |
getEmptyRoleSemantic() |
|
java.util.Set<java.lang.String> |
getRolesAllowed() |
|
TransportGuaranteeType |
getTransportGuaranteeType() |
|
T |
setEmptyRoleSemantic(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic) |
|
T |
setTransportGuaranteeType(TransportGuaranteeType transportGuaranteeType) |
public SecurityInfo.EmptyRoleSemantic getEmptyRoleSemantic()
public T setEmptyRoleSemantic(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic)
public TransportGuaranteeType getTransportGuaranteeType()
public T setTransportGuaranteeType(TransportGuaranteeType transportGuaranteeType)
public T addRoleAllowed(java.lang.String role)
public T addRolesAllowed(java.lang.String... roles)
public T addRolesAllowed(java.util.Collection<java.lang.String> roles)
public java.util.Set<java.lang.String> getRolesAllowed()
public T clone()
clone
in class java.lang.Object
protected T createInstance()
Copyright © 2018. All rights reserved.