1 28 29 package com.caucho.server.security; 30 31 import com.caucho.util.L10N; 32 33 import java.util.ArrayList ; 34 35 38 public class AuthConstraint { 39 static final L10N L = new L10N(AuthConstraint.class); 40 41 private String _description; 42 private ArrayList <String > _roleList = new ArrayList <String >(); 43 44 47 public void addRoleName(String roleName) 48 { 49 _roleList.add(roleName); 50 } 51 52 55 public ArrayList <String > getRoleList() 56 { 57 return _roleList; 58 } 59 60 63 public void setDescription(String name) 64 { 65 _description = name; 66 } 67 } 68 | Popular Tags |