Examples of validateRequest()


Examples of javax.security.auth.message.module.ServerAuthModule.validateRequest()

         ServerAuthModule module = (ServerAuthModule)modules.get(i);
         ControlFlag flag = (ControlFlag)this.controlFlags.get(i);
         AuthStatus decision = AuthStatus.FAILURE;
         try
         {
            decision = module.validateRequest(messageInfo, clientSubject, serviceSubject);
         }
         catch(Exception ae)
         {
            decision = AuthStatus.FAILURE;
            if(moduleException == null)
View Full Code Here

Examples of javax.security.auth.message.module.ServerAuthModule.validateRequest()

         ServerAuthModule module = (ServerAuthModule)modules.get(i);
         ControlFlag flag = (ControlFlag)this.controlFlags.get(i);
         AuthStatus decision = AuthStatus.FAILURE;
         try
         {
            decision = module.validateRequest(messageInfo, clientSubject, serviceSubject);
         }
         catch(Exception ae)
         {
            decision = AuthStatus.FAILURE;
            if(moduleException == null)
View Full Code Here

Examples of org.jboss.security.GeneralizedAuthenticationManager.validateRequest()

      Subject serviceSubject = new Subject();
      Map sharedState = getSharedState(request,config);
      AuthStatus status = AuthStatus.FAILURE;
      while(!status.equals(AuthStatus.SEND_CONTINUE))
      {
         status = gam.validateRequest(authParam, clientSubject, serviceSubject);
         if(status.equals(AuthStatus.FAILURE))
            throw new SecurityException("Authentication failed");
      }
      Principal authenticatedPrincipal = this.getAuthenticatedPrincipal(clientSubject);
      return null;
View Full Code Here

Examples of org.jboss.security.GeneralizedAuthenticationManager.validateRequest()

      Subject serviceSubject = new Subject();
      Map sharedState = getSharedState(request,config);
      AuthStatus status = AuthStatus.FAILURE;
      while(!status.equals(AuthStatus.SEND_CONTINUE))
      {
         status = gam.validateRequest(authParam, clientSubject, serviceSubject);
         if(status.equals(AuthStatus.FAILURE))
            throw new SecurityException("Authentication failed");
      }
      Principal authenticatedPrincipal = this.getAuthenticatedPrincipal(clientSubject);
      return null;
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.