1 23 24 25 package com.sun.enterprise.connectors.authentication; 26 27 import java.io.Serializable ; 28 import com.sun.enterprise.connectors.authentication.EisBackendPrincipal; 29 30 33 public class ConnectorSecurityMap implements Serializable { 34 private String name; 35 36 private String [] principals; 37 38 private String [] userGroups; 39 40 private EisBackendPrincipal backendPrincipal; 41 42 public ConnectorSecurityMap(String name, String [] principals, 43 String [] userGroups, EisBackendPrincipal backendPrincipal) { 44 this.name = name; 45 this.principals = principals; 46 this.userGroups = userGroups; 47 this.backendPrincipal = backendPrincipal; 48 } 49 50 53 public EisBackendPrincipal getBackendPrincipal() { 54 return this.backendPrincipal; 55 } 56 57 61 public void setBackendPrincipal(EisBackendPrincipal backendPrincipal) { 62 this.backendPrincipal = backendPrincipal; 63 } 64 65 68 public String getName() { 69 return this.name; 70 } 71 72 76 public void setName(String name) { 77 this.name = name; 78 } 79 80 83 public String [] getPrincipals() { 84 return this.principals; 85 } 86 87 91 public void setPrincipals(String [] principals) { 92 this.principals = principals; 93 } 94 95 98 public String [] getUserGroups() { 99 return this.userGroups; 100 } 101 102 105 public void setUserGroups(String [] userGroups) { 106 this.userGroups = userGroups; 107 } 108 } 109 | Popular Tags |