public class SecurityConstaintBuilder
extends java.lang.Object
Constructor and Description |
---|
SecurityConstaintBuilder() |
Modifier and Type | Method and Description |
---|---|
SecurityConstaintBuilder |
addAuthRole(java.lang.String authRole) |
SecurityConstaintBuilder |
addCollection(java.lang.String name,
java.lang.String pattern,
java.lang.String... methods) |
SecurityConstaintBuilder |
authConstraint(boolean authConstraint) |
SecurityConstraint |
build() |
SecurityConstaintBuilder |
displayName(java.lang.String displayName) |
void |
setAuthConstraint(boolean authConstraint) |
void |
setAuthRole(java.lang.String authRole) |
void |
setCollection(java.lang.String value) |
void |
setDisplayName(java.lang.String displayName) |
void |
setUserConstraint(java.lang.String userConstraint) |
SecurityConstaintBuilder |
userConstraint(java.lang.String constraint) |
public SecurityConstaintBuilder authConstraint(boolean authConstraint)
public SecurityConstaintBuilder displayName(java.lang.String displayName)
public SecurityConstaintBuilder userConstraint(java.lang.String constraint)
public SecurityConstaintBuilder addAuthRole(java.lang.String authRole)
public SecurityConstaintBuilder addCollection(java.lang.String name, java.lang.String pattern, java.lang.String... methods)
public void setAuthConstraint(boolean authConstraint)
public void setDisplayName(java.lang.String displayName)
public void setUserConstraint(java.lang.String userConstraint)
public void setAuthRole(java.lang.String authRole)
public void setCollection(java.lang.String value)
public SecurityConstraint build()