| Package | Description |
|---|---|
| com.sun.enterprise.web.deploy | |
| com.sun.web.security | |
| 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 | Class and Description |
|---|---|
class |
SecurityConstraintDecorator
Decorator of class
org.apache.catalina.deploy.SecurityConstraint |
| Modifier and Type | Method and Description |
|---|---|
SecurityConstraint[] |
RealmAdapter.findSecurityConstraints(HttpRequest request,
Context context)
Returns null
1.
|
SecurityConstraint[] |
RealmAdapter.findSecurityConstraints(String requestPathMB,
String httpMethod,
Context context)
Returns null
1.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RealmAdapter.hasResourcePermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
RealmAdapter.hasUserDataPermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints)
Enforce any user data constraint required by the security constraint
guarding this request URI.
|
boolean |
RealmAdapter.hasUserDataPermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
String uri,
String method)
Checks if the given request URI and method are the target of any
user-data-constraint with a transport-guarantee of CONFIDENTIAL,
and whether any such constraint is already satisfied.
|
int |
RealmAdapter.preAuthenticateCheck(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
boolean disableProxyCaching,
boolean securePagesWithPragma,
boolean ssoEnabled)
Checks whether or not authentication is needed.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityConstraint[] |
Realm.findSecurityConstraints(HttpRequest request,
Context context)
Return the SecurityConstraints configured to guard the request URI for
this request, or
null if there is no such constraint. |
SecurityConstraint[] |
Realm.findSecurityConstraints(String uri,
String method,
Context context)
Gets the security constraints configured by the given context
for the given request URI and method.
|
| Modifier and Type | Method and Description |
|---|---|
List<SecurityConstraint> |
Context.getConstraints()
Gets the (possibly empty) list of security constraints defined for
this web application.
|
| 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(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraint,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
Realm.hasUserDataPermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraint)
Enforce any user data constraint required by the security constraint
guarding this request URI.
|
boolean |
Realm.hasUserDataPermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
String uri,
String method)
Checks if the given request URI and method are the target of any
user-data-constraint with a transport-guarantee of CONFIDENTIAL,
and whether any such constraint is already satisfied.
|
int |
Realm.preAuthenticateCheck(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
boolean disableProxyCaching,
boolean securePagesWithPragma,
boolean ssoEnabled)
Checks whether or not authentication is needed.
|
| Modifier and Type | Method and Description |
|---|---|
List<SecurityConstraint> |
StandardContext.getConstraints()
Gets the security constraints defined 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.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityConstraint[] |
RealmBase.findSecurityConstraints(HttpRequest request,
Context context)
Return the SecurityConstraints configured to guard the request URI for
this request, or
null if there is no such constraint. |
SecurityConstraint[] |
RealmBase.findSecurityConstraints(String uri,
String method,
Context context)
Gets the security constraints configured by the given context
for the given request URI and method.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RealmBase.hasResourcePermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
RealmBase.hasUserDataPermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints)
Enforce any user data constraint required by the security constraint
guarding this request URI.
|
boolean |
RealmBase.hasUserDataPermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
String uri,
String method)
Checks if the given request URI and method are the target of any
user-data-constraint with a transport-guarantee of CONFIDENTIAL,
and whether any such constraint is already satisfied.
|
int |
RealmBase.preAuthenticateCheck(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
boolean disableProxyCaching,
boolean securePagesWithPragma,
boolean ssoEnabled)
Checks whether or not authentication is needed.
|
Copyright © 2017. All rights reserved.