Class SpecificUserResource
java.lang.Object
ch.software_atelier.simpleflex.rest.DefaultRestResource
ch.software_atelier.simpleflex.rest.auth.rres.SpecificUserResource
- All Implemented Interfaces:
ch.software_atelier.simpleflex.rest.RestResource
public class SpecificUserResource
extends ch.software_atelier.simpleflex.rest.DefaultRestResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddocDELETE(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) voiddocGET(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) voiddocPUT(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) ch.software_atelier.simpleflex.rest.RestResponseonDELETE(ch.software_atelier.simpleflex.rest.RestRequest request) ch.software_atelier.simpleflex.rest.RestResponseonGET(ch.software_atelier.simpleflex.rest.RestRequest request) Returns the User Information and the realms if the user is an admin of if he retrieves his own information.ch.software_atelier.simpleflex.rest.RestResponseonPUT(ch.software_atelier.simpleflex.rest.RestRequest request) The User can change his password, if he knows the old one.Methods inherited from class ch.software_atelier.simpleflex.rest.DefaultRestResource
addSimplePropertie, docHEAD, docOPTIONS, docPATCH, docPOST, onHEAD, onOPTIONS, onPATCH, onPOST
-
Constructor Details
-
SpecificUserResource
-
-
Method Details
-
onGET
public ch.software_atelier.simpleflex.rest.RestResponse onGET(ch.software_atelier.simpleflex.rest.RestRequest request) Returns the User Information and the realms if the user is an admin of if he retrieves his own information.- Specified by:
onGETin interfacech.software_atelier.simpleflex.rest.RestResource- Overrides:
onGETin classch.software_atelier.simpleflex.rest.DefaultRestResource
-
docGET
public void docGET(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) - Specified by:
docGETin interfacech.software_atelier.simpleflex.rest.RestResource- Overrides:
docGETin classch.software_atelier.simpleflex.rest.DefaultRestResource
-
onDELETE
public ch.software_atelier.simpleflex.rest.RestResponse onDELETE(ch.software_atelier.simpleflex.rest.RestRequest request) - Specified by:
onDELETEin interfacech.software_atelier.simpleflex.rest.RestResource- Overrides:
onDELETEin classch.software_atelier.simpleflex.rest.DefaultRestResource
-
docDELETE
public void docDELETE(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) - Specified by:
docDELETEin interfacech.software_atelier.simpleflex.rest.RestResource- Overrides:
docDELETEin classch.software_atelier.simpleflex.rest.DefaultRestResource
-
onPUT
public ch.software_atelier.simpleflex.rest.RestResponse onPUT(ch.software_atelier.simpleflex.rest.RestRequest request) The User can change his password, if he knows the old one. An admin can change the password of any user. TODO Code Cleanup and Refactoring- Specified by:
onPUTin interfacech.software_atelier.simpleflex.rest.RestResource- Overrides:
onPUTin classch.software_atelier.simpleflex.rest.DefaultRestResource
-
docPUT
public void docPUT(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) - Specified by:
docPUTin interfacech.software_atelier.simpleflex.rest.RestResource- Overrides:
docPUTin classch.software_atelier.simpleflex.rest.DefaultRestResource
-