FileDocCategorySizeDatePackage
RunAsIdentityDescriptor.javaAPI DocGlassfish v2 API2740Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

RunAsIdentityDescriptor

public final class RunAsIdentityDescriptor extends Descriptor
This class encapsulates information in the runAs-specified-identity XML element as well as the runtime principal to be used.
author
Sanjeev Krishnan

Fields Summary
private String
roleName
private String
principal
Constructors Summary
public RunAsIdentityDescriptor()


      
    
public RunAsIdentityDescriptor(String description)

	super("no name", description);
    
Methods Summary
public java.lang.StringgetPrincipal()

	return principal;
    
public java.lang.StringgetRoleName()

	return roleName;
    
public voidsetPrincipal(java.lang.String principal)

	this.principal = principal;
    
public voidsetRoleName(java.lang.String roleName)

	this.roleName = roleName;