fr.cnes.sitools.security.authorization.business
Class SitoolsMethodAuthorizer

java.lang.Object
  extended by org.restlet.Restlet
      extended by org.restlet.routing.Filter
          extended by org.restlet.security.Authorizer
              extended by org.restlet.security.MethodAuthorizer
                  extended by fr.cnes.sitools.security.authorization.business.SitoolsMethodAuthorizer
All Implemented Interfaces:
org.restlet.Uniform

public class SitoolsMethodAuthorizer
extends org.restlet.security.MethodAuthorizer

Method authorizer taking into account of tunneling method

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class org.restlet.security.Authorizer
ALWAYS, AUTHENTICATED, NEVER
 
Fields inherited from class org.restlet.routing.Filter
CONTINUE, SKIP, STOP
 
Constructor Summary
SitoolsMethodAuthorizer(org.restlet.Application application)
          Constructor with Application parent
 
Method Summary
 boolean authorize(org.restlet.Request request, org.restlet.Response response)
           
 org.restlet.Application getApplication()
           
 
Methods inherited from class org.restlet.security.MethodAuthorizer
getAnonymousMethods, getAuthenticatedMethods, setAnonymousMethods, setAuthenticatedMethods
 
Methods inherited from class org.restlet.security.Authorizer
getIdentifier, setIdentifier
 
Methods inherited from class org.restlet.routing.Filter
getNext, handle, hasNext, setNext, setNext, start, stop
 
Methods inherited from class org.restlet.Restlet
getAuthor, getContext, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitoolsMethodAuthorizer

public SitoolsMethodAuthorizer(org.restlet.Application application)
Constructor with Application parent

Parameters:
application - Application parent of the authorizer (can be null)
Method Detail

authorize

public boolean authorize(org.restlet.Request request,
                         org.restlet.Response response)
Overrides:
authorize in class org.restlet.security.MethodAuthorizer

getApplication

public org.restlet.Application getApplication()
Overrides:
getApplication in class org.restlet.Restlet


Copyright © 2010-2013 CNES. All Rights Reserved.