1 25 26 package org.objectweb.jonas.webapp.jonasadmin.security; 27 28 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem; 29 30 33 public class RealmItem implements NameItem { 34 35 37 private String name = null; 38 private String type = null; 39 private String contextPath = null; 40 private boolean usedBySecurityService = false; 41 42 44 public RealmItem() { 45 } 46 47 public RealmItem(String p_Name, String p_Type) { 48 setName(p_Name); 49 setType(p_Type); 50 } 51 52 public RealmItem(String p_Name, String p_Type, boolean p_UsedBySecurityService) { 53 setName(p_Name); 54 setType(p_Type); 55 setUsedBySecurityService(p_UsedBySecurityService); 56 } 57 58 64 public RealmItem(String p_Name, String p_Type, String p_ContextPath, 65 boolean p_UsedBySecurityService) { 66 super(); 67 setName(p_Name); 68 setType(p_Type); 69 setUsedBySecurityService(p_UsedBySecurityService); 70 setContextPath(p_ContextPath); 71 } 72 74 public String getName() { 75 return name; 76 } 77 78 public void setName(String name) { 79 this.name = name; 80 } 81 82 public String getType() { 83 return type; 84 } 85 86 public void setType(String type) { 87 this.type = type; 88 } 89 90 public boolean isUsedBySecurityService() { 91 return usedBySecurityService; 92 } 93 94 public void setUsedBySecurityService(boolean usedBySecurityService) { 95 this.usedBySecurityService = usedBySecurityService; 96 } 97 98 101 public String getContextPath() { 102 return contextPath; 103 } 104 107 public void setContextPath(String contextPath) { 108 this.contextPath = contextPath; 109 } 110 } | Popular Tags |