Package org.springframework.security.ui.preauth

Examples of org.springframework.security.ui.preauth.PreAuthenticatedCredentialsNotFoundException


  {
    String principal = (String) request.getAttribute(principalRequestAttribute);
   
    if (principal == null)
    {
      throw new PreAuthenticatedCredentialsNotFoundException(principalRequestAttribute
          + " attribute not found in request.");
    }

    return principal;
 
View Full Code Here


    if (credentialsRequestHeader != null)
    {
      String credentials = request.getHeader(credentialsRequestHeader)
      if (credentials == null)
      {
        throw new PreAuthenticatedCredentialsNotFoundException(credentialsRequestHeader
            + " header value not found in request.");
      }
     
      return credentials;
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.ui.preauth.PreAuthenticatedCredentialsNotFoundException

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.