Package | Description |
---|---|
org.apache.catalina | |
org.apache.catalina.core | |
org.apache.catalina.realm |
This package contains
Realm implementations for the
various supported realm technologies for authenticating users and
identifying their associated roles. |
Modifier and Type | Method and Description |
---|---|
SecurityConstraint[] |
Context.findConstraints()
Return the set of security constraints for this web application.
|
SecurityConstraint[] |
Realm.findSecurityConstraints(Request request,
Context context)
Return the SecurityConstraints configured to guard the request URI for
this request, or
null if there is no such constraint. |
Modifier and Type | Method and Description |
---|---|
void |
Context.addConstraint(SecurityConstraint constraint)
Add a security constraint to the set for this web application.
|
boolean |
Realm.hasResourcePermission(Request request,
Response response,
SecurityConstraint[] constraint,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
Realm.hasUserDataPermission(Request request,
Response response,
SecurityConstraint[] constraint)
Enforce any user data constraint required by the security constraint
guarding this request URI.
|
void |
Context.removeConstraint(SecurityConstraint constraint)
Remove the specified security constraint from this web application.
|
Modifier and Type | Field and Description |
---|---|
protected SecurityConstraint[] |
StandardContext.constraints
The security constraints for this web application.
|
Modifier and Type | Method and Description |
---|---|
SecurityConstraint[] |
StandardContext.findConstraints()
Return the security constraints for this web application.
|
Modifier and Type | Method and Description |
---|---|
void |
StandardContext.addConstraint(SecurityConstraint constraint)
Add a security constraint to the set for this web application.
|
void |
StandardContext.removeConstraint(SecurityConstraint constraint)
Remove the specified security constraint from this web application.
|
Modifier and Type | Method and Description |
---|---|
SecurityConstraint[] |
RealmBase.findSecurityConstraints(Request request,
Context context)
Return the SecurityConstraints configured to guard the request URI for
this request, or
null if there is no such constraint. |
Modifier and Type | Method and Description |
---|---|
boolean |
RealmBase.hasResourcePermission(Request request,
Response response,
SecurityConstraint[] constraints,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
RealmBase.hasUserDataPermission(Request request,
Response response,
SecurityConstraint[] constraints)
Enforce any user data constraint required by the security constraint
guarding this request URI.
|
Copyright © 2014 JBoss by Red Hat. All rights reserved.