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

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

public class SitoolsApplicationAuthorizer
extends org.restlet.security.Authorizer

Combination of RoleAuthorizers and MethodAuthorizers built on the Sitools security configuration defined for a specific application.

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
SitoolsApplicationAuthorizer(DelegatedAuthorizer... liste)
          Constructor with unlimited list of SitoolsAuthorizer
SitoolsApplicationAuthorizer(java.util.List<DelegatedAuthorizer> liste)
          Constructor with list of SitoolsAuthorizer
 
Method Summary
 boolean authorize(org.restlet.Request request, org.restlet.Response response)
           
 
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
getApplication, 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

SitoolsApplicationAuthorizer

public SitoolsApplicationAuthorizer(DelegatedAuthorizer... liste)
Constructor with unlimited list of SitoolsAuthorizer

Parameters:
liste - SitoolsAuthorizer

SitoolsApplicationAuthorizer

public SitoolsApplicationAuthorizer(java.util.List<DelegatedAuthorizer> liste)
Constructor with list of SitoolsAuthorizer

Parameters:
liste - SitoolsAuthorizer
Method Detail

authorize

public boolean authorize(org.restlet.Request request,
                         org.restlet.Response response)
Specified by:
authorize in class org.restlet.security.Authorizer


Copyright © 2010-2013 CNES. All Rights Reserved.