/** * If not already created, a new <code>run-as</code> element with the given value will be created. * Otherwise, the existing <code>run-as</code> element will be returned. * @return a new or existing instance of <code>RunAsType<SecurityIdentityType<T>></code> */ public RunAsType<SecurityIdentityType<T>> getOrCreateRunAs() { Node node = childNode.getOrCreate("run-as"); RunAsType<SecurityIdentityType<T>> runAs = new RunAsTypeImpl<SecurityIdentityType<T>>(this, "run-as", childNode, node); return runAs; }
/** * If not already created, a new <code>run-as</code> element with the given value will be created. * Otherwise, the existing <code>run-as</code> element will be returned. * @return a new or existing instance of <code>RunAsType<ServletType<T>></code> */ public RunAsType<ServletType<T>> getOrCreateRunAs() { Node node = childNode.getOrCreate("run-as"); RunAsType<ServletType<T>> runAs = new RunAsTypeImpl<ServletType<T>>(this, "run-as", childNode, node); return runAs; }
/** * If not already created, a new <code>run-as</code> element with the given value will be created. * Otherwise, the existing <code>run-as</code> element will be returned. * @return a new or existing instance of <code>RunAsType<ServletType<T>></code> */ public RunAsType<ServletType<T>> getOrCreateRunAs() { Node node = childNode.getOrCreate("run-as"); RunAsType<ServletType<T>> runAs = new RunAsTypeImpl<ServletType<T>>(this, "run-as", childNode, node); return runAs; }
/** * If not already created, a new <code>run-as</code> element with the given value will be created. * Otherwise, the existing <code>run-as</code> element will be returned. * @return a new or existing instance of <code>RunAsType<SecurityIdentityType<T>></code> */ public RunAsType<SecurityIdentityType<T>> getOrCreateRunAs() { Node node = childNode.getOrCreate("run-as"); RunAsType<SecurityIdentityType<T>> runAs = new RunAsTypeImpl<SecurityIdentityType<T>>(this, "run-as", childNode, node); return runAs; }