Examples of SamlAssertionExtractor


Examples of org.jboss.soa.esb.services.security.auth.ws.SamlAssertionExtractor

    {
      //No auth request, maybe it was a SAML v2 Assertion in the security header. Let's try to add it
      try
      {
        Set<SecurityInfoExtractor<String>> extractors = new HashSet<SecurityInfoExtractor<String>>();
        extractors.add( new SamlAssertionExtractor() );
        AuthenticationRequest authRequest = ExtractorUtil.extract(message.getBody().get().toString(), extractors);
        ExtractorUtil.addAuthRequestToMessage(authRequest, message);
      }
      catch( ExtractionException e )
      {
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.