1 19 24 25 package org.netbeans.modules.j2ee.sun.dd.api.common; 26 27 import org.netbeans.modules.j2ee.sun.dd.api.VersionNotSupportedException; 28 29 33 public interface SecurityRoleMapping extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean { 34 public static final String VERSION_SERVER_8_0 = "Server 8.0"; 35 36 public static final String ROLE_NAME = "RoleName"; public static final String PRINCIPAL_NAME = "PrincipalName"; public static final String PRINCIPALNAMECLASSNAME = "PrincipalNameClassName"; public static final String GROUP_NAME = "GroupName"; 41 public void setRoleName(java.lang.String value); 42 public java.lang.String getRoleName(); 43 44 public String [] getPrincipalName(); 45 public String getPrincipalName(int index); 46 public void setPrincipalName(String [] value); 47 public void setPrincipalName(int index, String value); 48 public int addPrincipalName(String value); 49 public int removePrincipalName(String value); 50 public int sizePrincipalName(); 51 52 public void setPrincipalNameClassName(int index, String value) throws VersionNotSupportedException; 53 public String getPrincipalNameClassName(int index) throws VersionNotSupportedException; 54 public int sizePrincipalNameClassName() throws VersionNotSupportedException; 55 56 public String [] getGroupName(); 57 public String getGroupName(int index); 58 public void setGroupName(String [] value); 59 public void setGroupName(int index, String value); 60 public int addGroupName(String value); 61 public int removeGroupName(String value); 62 public int sizeGroupName(); 63 64 } 65 | Popular Tags |