Package org.jboss.security.xacml.saml.integration.opensaml.types

Examples of org.jboss.security.xacml.saml.integration.opensaml.types.XACMLAuthzDecisionQueryType


   /** {@inheritDoc} */
   protected void processChildElement(XMLObject parentObject,
         XMLObject childObject) throws UnmarshallingException
   {
       XACMLAuthzDecisionQueryType xacmlauthzdecisionquery = (XACMLAuthzDecisionQueryType) parentObject;

       if (childObject instanceof RequestContext) {
           xacmlauthzdecisionquery.setRequest((RequestContext) childObject);
       } else {
           super.processChildElement(parentObject, childObject);
       }
   }
View Full Code Here


   }

   @Override
   protected void unmarshallChildElement(XMLObject xmlObject, Element childElement) throws UnmarshallingException
   {
      XACMLAuthzDecisionQueryType xacmlAuthzDecisionQueryType = null;
      if(xmlObject instanceof XACMLAuthzDecisionQueryType)
      {
         xacmlAuthzDecisionQueryType = (XACMLAuthzDecisionQueryType) xmlObject;
      }
      if(childElement.getLocalName().equals("Request")
            && childElement.getNamespaceURI().equals(XACMLConstants.CONTEXT_SCHEMA))
      {
         //process the xacml request
         RequestContext requestContext = RequestResponseContextFactory.createRequestCtx();
         try
         {
            requestContext.readRequest(childElement);
         }
         catch (IOException e)
         {
            throw new RuntimeException(e);
         }
         xacmlAuthzDecisionQueryType.setRequest(requestContext);
      }
      else
      super.unmarshallChildElement(xmlObject, childElement);
   }
View Full Code Here

TOP

Related Classes of org.jboss.security.xacml.saml.integration.opensaml.types.XACMLAuthzDecisionQueryType

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.