public class SecurityInfo<T extends SecurityInfo> extends Object implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
SecurityInfo.EmptyRoleSemantic
Equivalent to
ServletSecurity.EmptyRoleSemantic but with an additional mode to require authentication but no role
check. |
Constructor and Description |
---|
SecurityInfo() |
Modifier and Type | Method and Description |
---|---|
T |
addRoleAllowed(String role) |
T |
addRolesAllowed(Collection<String> roles) |
T |
addRolesAllowed(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 © 2019 JBoss by Red Hat. All rights reserved.