FileDocCategorySizeDatePackage
SecurityRoleRef.javaAPI DocApache Tomcat 6.0.142280Fri Jul 20 04:20:32 BST 2007org.apache.catalina.deploy

SecurityRoleRef

public class SecurityRoleRef extends Object

Representation of a security role reference for a web application, as represented in a <security-role-ref> element in the deployment descriptor.

author
Mark Thomas
version
$Revision: 550263 $ $Date: 2007-06-24 19:28:45 +0200 (dim., 24 juin 2007) $
since
Tomcat 5.5

Fields Summary
private String
name
The (required) role name.
private String
link
The optional role link.
Constructors Summary
Methods Summary
public java.lang.StringgetLink()


       
        return (this.link);
    
public java.lang.StringgetName()


       
        return (this.name);
    
public voidsetLink(java.lang.String link)

        this.link = link;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
public java.lang.StringtoString()
Return a String representation of this object.


        StringBuffer sb = new StringBuffer("SecurityRoleRef[");
        sb.append("name=");
        sb.append(name);
        if (link != null) {
            sb.append(", link=");
            sb.append(link);
        }
        sb.append("]");
        return (sb.toString());