javax.security.jacc
Class WebResourcePermission

java.lang.Object
  extended by java.security.Permission
      extended by javax.security.jacc.WebResourcePermission
All Implemented Interfaces:
Serializable, Guard

public final class WebResourcePermission
extends Permission
implements Serializable

Version:
$Rev: 431818 $ $Date: 2006-08-15 21:55:26 -0700 (Tue, 15 Aug 2006) $
See Also:
Serialized Form

Constructor Summary
WebResourcePermission(HttpServletRequest request)
           
WebResourcePermission(String name, String actions)
           
WebResourcePermission(String urlPattern, String[] HTTPMethods)
           
 
Method Summary
 boolean equals(Object o)
           
 String getActions()
           
 int hashCode()
           
 boolean implies(Permission permission)
           
 PermissionCollection newPermissionCollection()
           
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebResourcePermission

public WebResourcePermission(HttpServletRequest request)

WebResourcePermission

public WebResourcePermission(String name,
                             String actions)

WebResourcePermission

public WebResourcePermission(String urlPattern,
                             String[] HTTPMethods)
Method Detail

equals

public boolean equals(Object o)
Specified by:
equals in class Permission

getActions

public String getActions()
Specified by:
getActions in class Permission

hashCode

public int hashCode()
Specified by:
hashCode in class Permission

implies

public boolean implies(Permission permission)
Specified by:
implies in class Permission

newPermissionCollection

public PermissionCollection newPermissionCollection()
Overrides:
newPermissionCollection in class Permission


Copyright © 2006 Apache Software Foundation. All Rights Reserved.