org.ow2.frascati.intent.authentication
Class AbstractAuthenticationIntent

java.lang.Object
  extended by org.ow2.frascati.intent.authentication.AbstractAuthenticationIntent
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.ow2.frascati.tinfi.api.IntentHandler

public abstract class AbstractAuthenticationIntent
extends Object
implements org.ow2.frascati.tinfi.api.IntentHandler

Abstract class for authentication intent definition

Author:
Remi Melisson

Constructor Summary
AbstractAuthenticationIntent()
           
 
Method Summary
 Object invoke(org.ow2.frascati.tinfi.api.IntentJoinPoint ijp)
           
abstract  boolean isAuthenticated(Subject subject)
          This method should check if the subject is authorized to process the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAuthenticationIntent

public AbstractAuthenticationIntent()
Method Detail

invoke

public Object invoke(org.ow2.frascati.tinfi.api.IntentJoinPoint ijp)
              throws Throwable
Specified by:
invoke in interface org.ow2.frascati.tinfi.api.IntentHandler
Throws:
Throwable

isAuthenticated

public abstract boolean isAuthenticated(Subject subject)
This method should check if the subject is authorized to process the request.

Parameters:
subject - The subject associated to a request
Returns:


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.