org.apache.jetspeed.om.registry.base
Class BaseSecurity
java.lang.Object
org.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
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 |
BaseSecurity
public BaseSecurity()
BaseSecurity
public BaseSecurity(java.lang.String role)
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.