fr.cnes.sitools.login
Class LoginDetailsResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.login.LoginDetailsResource

public final class LoginDetailsResource
extends SitoolsResource

Resource just for return a standard response when authentication succeed This resource can be attached in each application to return user roles...

Author:
AKKA Technologies

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
LoginDetailsResource()
           
 
Method Summary
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
          Describe the GET method
 org.restlet.representation.Representation login(org.restlet.representation.Variant variant)
          Login tentative
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace
 
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource
getMediaType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginDetailsResource

public LoginDetailsResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

login

@Get
public org.restlet.representation.Representation login(org.restlet.representation.Variant variant)
Login tentative

Parameters:
variant - client preference for response media type
Returns:
Representation if success

describeGet

public void describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the GET method

Parameters:
info - WADL method info


Copyright © 2010-2013 CNES. All Rights Reserved.