00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 package org.objectweb.jonas.webapp.jonasadmin.security;
00027
00028 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
00029
00033 public class RealmItem implements NameItem {
00034
00035
00036
00037 private String name = null;
00038 private String type = null;
00039 private String contextPath = null;
00040 private boolean usedBySecurityService = false;
00041
00042
00043
00044 public RealmItem() {
00045 }
00046
00047 public RealmItem(String p_Name, String p_Type) {
00048 setName(p_Name);
00049 setType(p_Type);
00050 }
00051
00052 public RealmItem(String p_Name, String p_Type, boolean p_UsedBySecurityService) {
00053 setName(p_Name);
00054 setType(p_Type);
00055 setUsedBySecurityService(p_UsedBySecurityService);
00056 }
00057
00064 public RealmItem(String p_Name, String p_Type, String p_ContextPath,
00065 boolean p_UsedBySecurityService) {
00066 super();
00067 setName(p_Name);
00068 setType(p_Type);
00069 setUsedBySecurityService(p_UsedBySecurityService);
00070 setContextPath(p_ContextPath);
00071 }
00072
00073
00074 public String getName() {
00075 return name;
00076 }
00077
00078 public void setName(String name) {
00079 this.name = name;
00080 }
00081
00082 public String getType() {
00083 return type;
00084 }
00085
00086 public void setType(String type) {
00087 this.type = type;
00088 }
00089
00090 public boolean isUsedBySecurityService() {
00091 return usedBySecurityService;
00092 }
00093
00094 public void setUsedBySecurityService(boolean usedBySecurityService) {
00095 this.usedBySecurityService = usedBySecurityService;
00096 }
00097
00101 public String getContextPath() {
00102 return contextPath;
00103 }
00107 public void setContextPath(String contextPath) {
00108 this.contextPath = contextPath;
00109 }
00110 }