org.melati.test
Class RestrictedAccessObject
java.lang.Object
org.melati.test.RestrictedAccessObject
public class RestrictedAccessObject
- extends Object
An object which requires authorisation to view it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestrictedAccessObject
public RestrictedAccessObject()
- Constructor.
getRestrictedAccessObject
public String getRestrictedAccessObject()
throws AccessPoemException
- Used in a test template.
- Returns:
- a String assuring that current user has admin priviledges
- Throws:
AccessPoemException
- is current user is not an administrator
Copyright © 2000-2010 PanEris. All Rights Reserved.