Examples of DestinationInfoHolder


Examples of org.jboss.identity.federation.core.saml.v2.holders.DestinationInfoHolder

      }
      catch (TransformerException e)
      {
         throw new ProcessingException(e);
     
      PostBindingUtil.sendPost(new DestinationInfoHolder(destination, samlMessage, relayState),
             response, true);
   }
View Full Code Here

Examples of org.jboss.identity.federation.core.saml.v2.holders.DestinationInfoHolder

     
      else
      {  
         String samlResponse = PostBindingUtil.base64Encode(new String(responseBytes));
         
         PostBindingUtil.sendPost(new DestinationInfoHolder(destination,
               samlResponse, relayState), response, false);
      }
   }
View Full Code Here

Examples of org.jboss.identity.federation.core.saml.v2.holders.DestinationInfoHolder

      saml2Request.marshall(authnRequest, baos);
      String samlMessage = PostBindingUtil.base64Encode(baos.toString())
      String destination = authnRequest.getDestination();
     
      PostBindingUtil.sendPost(new DestinationInfoHolder(destination, samlMessage, relayState),
            response, true);
   }
View Full Code Here

Examples of org.jboss.identity.federation.core.saml.v2.holders.DestinationInfoHolder

      ByteArrayOutputStream baos = new ByteArrayOutputStream();
      saml2Request.marshall(authnRequest, baos);
      String samlMessage = PostBindingUtil.base64Encode(baos.toString())
      String destination = authnRequest.getDestination();
      PostBindingUtil.sendPost(new DestinationInfoHolder(destination, samlMessage, relayState),
             response, true);
   }
View Full Code Here

Examples of org.picketlink.identity.federation.core.saml.v2.holders.DestinationInfoHolder

            byte[] responseBytes = DocumentUtil.getDocumentAsString(responseDoc).getBytes("UTF-8");

            String samlResponse = PostBindingUtil.base64Encode(new String(responseBytes));

            PostBindingUtil.sendPost(new DestinationInfoHolder(destination, samlResponse, relayState), response, sendRequest);
        }
    }
View Full Code Here

Examples of org.picketlink.identity.federation.core.saml.v2.holders.DestinationInfoHolder

     */
    protected void sendRequestToIDP(String destination, Document samlDocument, String relayState, HttpServletResponse response,
            boolean willSendRequest) throws ProcessingException, ConfigurationException, IOException {
        String samlMessage = DocumentUtil.getDocumentAsString(samlDocument);
        samlMessage = PostBindingUtil.base64Encode(samlMessage);
        PostBindingUtil.sendPost(new DestinationInfoHolder(destination, samlMessage, relayState), response, willSendRequest);
    }
View Full Code Here

Examples of org.picketlink.identity.federation.core.saml.v2.holders.DestinationInfoHolder

    protected void sendHttpPostBindingRequest(String destination, Document samlDocument, String relayState, Response response,
            boolean willSendRequest) throws ProcessingException, IOException,
            ConfigurationException {
        String samlMessage = PostBindingUtil.base64Encode(DocumentUtil.getDocumentAsString(samlDocument));

        DestinationInfoHolder destinationHolder = new DestinationInfoHolder(destination, samlMessage, relayState);

        PostBindingUtil.sendPost(destinationHolder, response, willSendRequest);
    }
View Full Code Here

Examples of org.picketlink.identity.federation.core.saml.v2.holders.DestinationInfoHolder

        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        saml2Request.marshall(authnRequest, baos);

        String samlMessage = PostBindingUtil.base64Encode(baos.toString());
        String destination = authnRequest.getDestination().toASCIIString();
        PostBindingUtil.sendPost(new DestinationInfoHolder(destination, samlMessage, relayState), response, true);
    }
View Full Code Here

Examples of org.picketlink.identity.federation.core.saml.v2.holders.DestinationInfoHolder

            }
            KeyPair keypair = keyManager.getSigningKeyPair();
            samlSignature.signSAMLDocument(samlDocument, keypair);
        }
        String samlMessage = PostBindingUtil.base64Encode(DocumentUtil.getDocumentAsString(samlDocument));
        PostBindingUtil.sendPost(new DestinationInfoHolder(destination, samlMessage, relayState), response, request);
    }
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.