1 37 38 package com.sun.j2ee.blueprints.signon.web; 39 40 41 import java.util.ArrayList ; 42 43 46 47 public class ProtectedResource implements java.io.Serializable { 48 49 private String name = null; 50 private String urlPattern = null; 51 private ArrayList roles = null; 52 53 public ProtectedResource (String name, String urlPattern, ArrayList roles) { 54 this.name = name; 55 this.urlPattern = urlPattern; 56 this.roles = roles; 57 } 58 59 public String getName() { 60 return name; 61 } 62 63 public String getURLPattern() { 64 return urlPattern; 65 } 66 67 public ArrayList getRoles() { 68 return roles; 69 } 70 71 public String toString() { 72 return "ProtectedResource [ name=" + name + ", urlPattern=" + urlPattern + ", roles=" + roles + "]"; 73 } 74 } 75 | Popular Tags |