org.apache.jetspeed.om.registry.base
Class BaseSecurity

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseSecurity
All Implemented Interfaces:
Security, java.io.Serializable

public class BaseSecurity
extends java.lang.Object
implements Security, java.io.Serializable

Bean like implementation of the Security interface suitable for Castor serialization.

Version:
$Id: BaseSecurity.java,v 1.5 2005/03/21 18:21:37 sgala Exp $
Author:
Raphaël Luta
See Also:
Security, Serialized Form

Constructor Summary
BaseSecurity()
           
BaseSecurity(java.lang.String role)
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Implements the equals operation so that 2 elements are equal if all their member values are equal.
 java.lang.String getRole()
           
 void setRole(java.lang.String role)
          Sets the role name required for accessing this entry
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSecurity

public BaseSecurity()

BaseSecurity

public BaseSecurity(java.lang.String role)
Method Detail

equals

public boolean equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal.


getRole

public java.lang.String getRole()
Specified by:
getRole in interface Security
Returns:
the role name that is required for accessing this entry

setRole

public void setRole(java.lang.String role)
Sets the role name required for accessing this entry

Specified by:
setRole in interface Security
Parameters:
role - the required role name


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.