1 23 24 package com.sun.enterprise.deployment.runtime.common; 25 26 import com.sun.enterprise.deployment.runtime.RuntimeDescriptor; 27 28 35 public class DefaultResourcePrincipal extends RuntimeDescriptor 36 { 37 38 static public final String NAME = "Name"; static public final String PASSWORD = "Password"; 41 public void setName(String value) 43 { 44 this.setValue(NAME, value); 45 } 46 47 public String getName() 49 { 50 return (String )this.getValue(NAME); 51 } 52 53 public void setPassword(String value) 55 { 56 this.setValue(PASSWORD, value); 57 } 58 59 public String getPassword() 61 { 62 return (String )this.getValue(PASSWORD); 63 } 64 65 public boolean verify() 67 { 68 return true; 69 } 70 } 71 | Popular Tags |