Package javax.security.jacc

Examples of javax.security.jacc.URLPatternSpec


    private synchronized void readObject(java.io.ObjectInputStream s)
         throws IOException,ClassNotFoundException
    {
  this.methodSpec = HttpMethodSpec.getSpec
      ((String) s.readFields().get("actions",null));
  this.urlPatternSpec = new URLPatternSpec(super.getName());
    }
View Full Code Here


     */

     public WebUserDataPermission(String name, String actions)
     { 
        super(name);
  this.urlPatternSpec = new URLPatternSpec(name);
  parseActions(actions);
     }
View Full Code Here

     public WebUserDataPermission(String urlPatternSpec, String[] HTTPMethods,
          String transportType)
     {
  super(urlPatternSpec);
  this.urlPatternSpec = new URLPatternSpec(urlPatternSpec);

  this.transportType = TT_NONE;

  if (transportType != null) {
      Integer bit = (Integer) transportHash.get(transportType);
View Full Code Here

     */

     public WebUserDataPermission(HttpServletRequest request)
     {
  super(getUriMinusContextPath(request));
  this.urlPatternSpec = new URLPatternSpec(super.getName());
  this.transportType = request.isSecure() ? TT_CONFIDENTIAL : TT_NONE;
  this.methodSpec = HttpMethodSpec.getSpec(request.getMethod());
     }
View Full Code Here

     */

     public WebResourcePermission(String urlPatternSpec, String[] HTTPMethods)
     {
  super(urlPatternSpec);
  this.urlPatternSpec = new URLPatternSpec(urlPatternSpec);
  this.methodSpec = HttpMethodSpec.getSpec(HTTPMethods);
     }
View Full Code Here

     */

     public WebResourcePermission(HttpServletRequest request)
     {
  super(getUriMinusContextPath(request));
  this.urlPatternSpec = new URLPatternSpec(super.getName());
  this.methodSpec= HttpMethodSpec.getSpec(request.getMethod());
     }
View Full Code Here

TOP

Related Classes of javax.security.jacc.URLPatternSpec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.