Package org.openmhealth.reference.request

Examples of org.openmhealth.reference.request.AuthenticationRequest


    // Create the authentication request from parameters.
    AuthenticationToken token =
      handleRequest(
        request,
        response,
        new AuthenticationRequest(username, password));
   
    // Add a cookie for the authentication token.
    Cookie cookie =
      new Cookie(PARAM_AUTHENTICATION_AUTH_TOKEN, token.getToken());
    // Set the expiration on the cookie.
View Full Code Here

TOP

Related Classes of org.openmhealth.reference.request.AuthenticationRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.