|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwinstone.auth.SecurityConstraint
public class SecurityConstraint
Models a restriction on a particular set of resources in the webapp.
| Constructor Summary | |
|---|---|
SecurityConstraint(org.w3c.dom.Node elm,
java.util.Set rolesAllowed,
int counter)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
boolean |
isAllowed(HttpServletRequest request)
Call this to evaluate the security constraint - is this operation allowed ? |
boolean |
isApplicable(java.lang.String url,
java.lang.String method)
Call this to evaluate the security constraint - is this constraint applicable to this url ? |
boolean |
needsSSL()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityConstraint(org.w3c.dom.Node elm,
java.util.Set rolesAllowed,
int counter)
| Method Detail |
|---|
public boolean isAllowed(HttpServletRequest request)
public boolean isApplicable(java.lang.String url,
java.lang.String method)
public boolean needsSSL()
public java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||