corelib.security
Class RestrictedObject

java.lang.Object
  extended by corelib.Object
      extended by corelib.security.RestrictedObject

public class RestrictedObject
extends corelib.Object


Constructor Summary
RestrictedObject()
           
 
Method Summary
 void addAuthorizedRole(Role role)
          Add a authorized role to this object.
protected  void checkAutorisation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictedObject

public RestrictedObject()
Method Detail

addAuthorizedRole

public void addAuthorizedRole(Role role)
                       throws UnauthorizedException
Add a authorized role to this object.

Parameters:
role - The new authorized role.
Throws:
UnauthorizedException - Thrown if the role cannot be added.

checkAutorisation

protected void checkAutorisation()
                          throws UnauthorizedException
Throws:
UnauthorizedException


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.