Package org.jboss.identity.federation.core.exceptions

Examples of org.jboss.identity.federation.core.exceptions.ParsingException


            String finalDest = destination + this.getDestination(urlEncodedResponse, relayState);
            HTTPRedirectUtil.sendRedirectForResponder(finalDest, response);
      }
      catch (JAXBException e)
      {
         throw new ParsingException(e);
      }
      catch (SAXException e)
      {
         throw new ParsingException(e);
      }
      catch (IOException e)
      {
         throw new ProcessingException(e);
      }  
View Full Code Here


      {
         authnRequestType = saml2Request.getAuthnRequestType(is);
      }
      catch (JAXBException e2)
      {
         throw new ParsingException(e2);
      }
      catch (SAXException e2)
      {
         throw new ParsingException(e2);
      }
      if(authnRequestType == null)
         throw new IllegalStateException("AuthnRequest is null");

      if(log.isTraceEnabled())
View Full Code Here

         {
            responseType = saml2Response.getResponseType(is);
         }
         catch (JAXBException e)
         {
            throw new ParsingException(e);
         }
         catch (SAXException e)
         {
            throw new ParsingException(e);
         }
                 
         this.isTrusted(responseType.getIssuer().getValue());
        
         List<Object> assertions = responseType.getAssertionOrEncryptedAssertion();
View Full Code Here

            // TODO Auto-generated catch block
            e.printStackTrace();
         }
         catch (JAXBException e)
         {
            throw new ParsingException(e);
         }
         catch (SAXException e)
         {
            throw new ParsingException(e);
         }
         catch (ParserConfigurationException e)
         {
            throw new ConfigurationException(e);
         }
View Full Code Here

      {
         throw new ConfigurationException(e);
      }
      catch (SAXException e)
      {
         throw new ParsingException(e);
      }
      catch (TransformerFactoryConfigurationError e)
      {
         throw new ConfigurationException(e);
      }
      catch (TransformerException e)
      {
         throw new ParsingException(e);
      }
      catch (Exception e)
      {
         throw new GeneralSecurityException(e);
      }
View Full Code Here

      {
         return saml2Request.getRequestType(is);
      }
      catch (JAXBException e)
      {
         throw new ParsingException(e);
      }
      catch (SAXException e)
      {
         throw new ParsingException(e);
      }
   }
View Full Code Here

         saml2Response.marshall(responseType, baos);
      }
      catch (SAXException e1)
      {
         log.trace("Parsing Exception in sending response:",e1);
         throw new ParsingException("Parsing Exception in sending response:" , e1);
      }
      catch (JAXBException e1)
      {
         log.trace("Parsing Exception in sending response:",e1);
         throw new ParsingException("Parsing Exception in sending response:" ,e1);
      }
     
      if(redirectProfile)
      {
         String urlEncodedResponse = RedirectBindingUtil.deflateBase64URLEncode(baos.toByteArray());
View Full Code Here

      {
         responseDoc = saml2Response.convert(responseType);
      }
      catch (JAXBException e)
      {
         throw new ParsingException(e);
      }
      catch (ParserConfigurationException e)
      {
         throw new ParsingException(e);
      }
     
      //URL Encode the Request
      String responseString;
      try
View Full Code Here

         holders.set(new SAMLDocumentHolder(rstt, document));
         return new RequestSecurityToken(rstt);
      }
      catch (JAXBException e)
      {
         throw new ParsingException(e);
      }
     
     
      /*Element targetElement = this.getValidateOrRenewOrCancelTarget(document);

View Full Code Here

      {
         throw new ConfigurationException(e);
      }
      catch (TransformerException e)
      {
         throw new ParsingException(e);
      }
      catch (Exception e)
      {
         throw new GeneralSecurityException(e);
      }
View Full Code Here

TOP

Related Classes of org.jboss.identity.federation.core.exceptions.ParsingException

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.