TaskBean API
0.5

glogic.sample.sys
Class AbstractAuthenticatedService

java.lang.Object
  extended byJThinProductServlet
      extended byglogic.jthin.serv.AbstractProductService
          extended byglogic.sample.sys.AbstractAuthenticatedService
Direct Known Subclasses:
AdminServiceImp

public abstract class AbstractAuthenticatedService
extends AbstractProductService

Example of service that can perform additional rights checking, like checking if user/session has rights to given fucntion.

Author:
Taha
See Also:
Serialized Form

Constructor Summary
AbstractAuthenticatedService()
           
 
Method Summary
protected  void checkFunctionRights(java.lang.String functionName)
          Called by a method to check that the user has rights to this function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAuthenticatedService

public AbstractAuthenticatedService()
Method Detail

checkFunctionRights

protected final void checkFunctionRights(java.lang.String functionName)
                                  throws WServiceAccessException
Called by a method to check that the user has rights to this function.

Parameters:
functionName - Description of the Parameter
Throws:
WServiceAccessException - Description of the Exception

TaskBean API
0.5

Copyright © Grand Logic, Inc. All Rights Reserved.