Examples of AuthLoginException


Examples of com.sun.identity.authentication.spi.AuthLoginException

      }
       
      boolean success = restCallbackCaller.executeRemoteCall(this.username, password);
      if(!success)
      {
        throw new AuthLoginException("GateIn Login Callback Failed!!");
      }
 
      return ISAuthConstants.LOGIN_SUCCEED;
    }
    catch(Throwable e)
    {     
      throw new AuthLoginException(e);
    }
  }
View Full Code Here

Examples of org.ejbca.core.model.ca.AuthLoginException

                final X509Certificate[] certs;
                if ( o!=null && o instanceof X509Certificate[] ) {
                    certs = (X509Certificate[])o;
                }
                else {
                    throw new AuthLoginException("No authenicating certificate");
                }
                boolean isRevoked = certificateStoreSession.isRevoked(certs[0].getIssuerDN().getName(),certs[0].getSerialNumber());
                if (isRevoked) {
                    throw new UserCertificateRevokedException(certs[0]);
                }
View Full Code Here

Examples of org.ejbca.core.model.ca.AuthLoginException

                log.debug("Trying to authenticate user: username="+username+", dn="+data.getSubjectDN()+", email="+data.getSubjectEmail()+", status="+status+", type="+data.getType());
              }
                if (!data.comparePassword(password)) {
                  final String msg = intres.getLocalizedMessage("authentication.invalidpwd", username);             
                  logSession.log(admin, data.getCaId(), LogConstants.MODULE_CA, new Date(),username, null, LogConstants.EVENT_ERROR_USERAUTHENTICATION,msg);
                  throw new AuthLoginException(msg);
                }
                // Resets the remaining login attempts as this was a successful login
                userAdminSession.resetRemainingLoginAttempts(admin, username);
              // Log formal message that authentication was successful
                final String msg = intres.getLocalizedMessage("authentication.authok", username);             
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.