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.SecurityConstraint
public void setLoginConfig(LoginConfig lc)
lc
- the login config for the contextLoginConfig
public Set<SecurityConstraint> getSecurityConstraints()
SecurityConstraint
public LoginConfig getLoginConfig()
LoginConfig
Copyright © 2018. All rights reserved.