fr.cnes.sitools.security.authorization
Class AuthorizationApplication

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.security.authorization.AuthorizationApplication

public final class AuthorizationApplication
extends SitoolsApplication

Application for managing projects Dependencies : DataSets TODO Constructor with all generic security configuration (Authenticator infos) Configure security application by spring or from server main

Author:
AKKA Technologies

Constructor Summary
AuthorizationApplication(org.restlet.Context context)
          Constructor
 
Method Summary
 org.restlet.Restlet createInboundRoot()
           
 org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
           
 java.lang.String getDefaultAuthorization()
          Gets the defaultAuthorization value
 AuthorizationStore getStore()
          Gets the store value
 void sitoolsDescribe()
          Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.
 
Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, start, stop, unregister, wrapToResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationApplication

public AuthorizationApplication(org.restlet.Context context)
Constructor

Parameters:
context - Restlet Host Context
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: SitoolsApplication
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.

Specified by:
sitoolsDescribe in class SitoolsApplication

createInboundRoot

public org.restlet.Restlet createInboundRoot()

getStore

public AuthorizationStore getStore()
Gets the store value

Returns:
the store

getDefaultAuthorization

public java.lang.String getDefaultAuthorization()
Gets the defaultAuthorization value

Returns:
the defaultAuthorization

getApplicationInfo

public org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request,
                                                               org.restlet.Response response)
Overrides:
getApplicationInfo in class SitoolsApplication


Copyright © 2010-2013 CNES. All Rights Reserved.