fr.cnes.sitools.login
Class LostPasswordResource

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.LostPasswordResource

public class LostPasswordResource
extends SitoolsResource

Resource to reset and generate an new user password with a sent email

Author:
AKKA Technologies

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
LostPasswordResource()
           
 
Method Summary
 void describePut(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation resetPass(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Reset an user Password
 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

LostPasswordResource

public LostPasswordResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

resetPass

@Put
public org.restlet.representation.Representation resetPass(org.restlet.representation.Representation representation,
                                                               org.restlet.representation.Variant variant)
Reset an user Password

Parameters:
representation - the response to use
variant - client preference for response media type
Returns:
Representation if success

describePut

public void describePut(org.restlet.ext.wadl.MethodInfo info)


Copyright © 2010-2013 CNES. All Rights Reserved.