org.apache.openejb.jee
Class SecurityRole

java.lang.Object
  extended by org.apache.openejb.jee.SecurityRole

public class SecurityRole
extends java.lang.Object

The security-roleType contains the definition of a security role. The definition consists of an optional description of the security role, and the security role name.

Example:

This role includes all employees who are authorized to access the employee service application. employee


Field Summary
protected  TextMap description
           
protected  java.lang.String id
           
protected  java.lang.String roleName
           
 
Constructor Summary
SecurityRole()
           
 
Method Summary
 java.lang.String getDescription()
           
 Text[] getDescriptions()
           
 java.lang.String getId()
           
 java.lang.String getRoleName()
           
 void setDescriptions(Text[] text)
           
 void setId(java.lang.String value)
           
 void setRoleName(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roleName

protected java.lang.String roleName

id

protected java.lang.String id

description

protected TextMap description
Constructor Detail

SecurityRole

public SecurityRole()
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public java.lang.String getDescription()

getRoleName

public java.lang.String getRoleName()

setRoleName

public void setRoleName(java.lang.String value)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.