public class SecurityConfig extends Object
| Constructor and Description |
|---|
SecurityConfig()
Create an instance of SecurityConfig
|
| Modifier and Type | Method and Description |
|---|---|
LoginConfig |
getLoginConfig()
Gets the login config for the context
|
Set<SecurityConstraint> |
getSecurityConstraints()
Gets the security constraints for the context
|
void |
setLoginConfig(LoginConfig lc)
Configures the login related configuration for the context
|
void |
setSecurityConstraints(Set<SecurityConstraint> securityConstraints)
Set the security constraints for a context.
|
String |
toString()
Returns a formatted string of the state.
|
public void setSecurityConstraints(Set<SecurityConstraint> securityConstraints)
securityConstraints - a set of constraints for the
context on which this security configuration applies.SecurityConstraintpublic void setLoginConfig(LoginConfig lc)
lc - the login config for the contextLoginConfigpublic Set<SecurityConstraint> getSecurityConstraints()
SecurityConstraintpublic LoginConfig getLoginConfig()
LoginConfigCopyright © 2017. All rights reserved.