Cloneable
HttpMethodSecurityInfo
, SecurityConstraint
, ServletSecurityInfo
public class SecurityInfo<T extends SecurityInfo> extends Object implements 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(String role) |
|
T |
addRolesAllowed(String... roles) |
|
T |
addRolesAllowed(Collection<String> roles) |
|
T |
clone() |
|
protected T |
createInstance() |
|
SecurityInfo.EmptyRoleSemantic |
getEmptyRoleSemantic() |
|
Set<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 addRolesAllowed(Collection<String> roles)
protected T createInstance()
Copyright © 2018. All rights reserved.