1 28 29 package com.caucho.ejb.cfg; 30 31 34 public class EjbSecurityIdentity { 35 private String _runAs; 36 37 40 public EjbSecurityIdentity() 41 { 42 } 43 44 public void setDescription(String description) 45 { 46 } 47 48 public void setUseCallerIdentity(boolean useIdentity) 49 { 50 } 51 52 public void setRunAs(RunAs runAs) 53 { 54 _runAs = runAs.getRoleName(); 55 } 57 58 public static class RunAs { 59 String _roleName; 60 61 public void setId(String id) 62 { 63 } 64 65 public void setDescription(String description) 66 { 67 } 68 69 public void setRoleName(String roleName) 70 { 71 _roleName = roleName; 72 } 73 74 public String getRoleName() 75 { 76 return _roleName; 77 } 78 } 79 } 80 | Popular Tags |