fr.cnes.sitools.login
Class LoginDetailsResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
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
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginDetailsResource
public LoginDetailsResource()
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.