Package org.apache.xml.security.stax.securityEvent.SecurityEventConstants

Examples of org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event


                    new XMLSecurityException("empty", "The request was not signed or encrypted");
                throwFault(ex.getMessage(), ex);
            }
           
            if (signatureRequired) {
                Event requiredEvent = SecurityEventConstants.SignatureValue;
                if (!isEventInResults(requiredEvent, incomingSecurityEventList)) {
                    LOG.warning("The request was not signed");
                    XMLSecurityException ex =
                        new XMLSecurityException("empty", "The request was not signed");
                    throwFault(ex.getMessage(), ex);
View Full Code Here


                new WSSecurityException(WSSecurityException.ErrorCode.INVALID_SECURITY);
            throw createSoapFault(soapMessage.getVersion(), ex);
        }
       
        for (String action : inActions) {
            Event requiredEvent = null;
            if (WSSConstants.TIMESTAMP.getName().equals(action)) {
                requiredEvent = WSSecurityEventConstants.Timestamp;
            } else if (WSSConstants.USERNAMETOKEN.getName().equals(action)) {
                requiredEvent = WSSecurityEventConstants.UsernameToken;
            } else if (WSSConstants.SIGNATURE.getName().equals(action)) {
View Full Code Here

                return;
            }
        }
       
        for (XMLSecurityConstants.Action action : inActions) {
            Event requiredEvent = null;
            if (WSSConstants.TIMESTAMP.equals(action)) {
                requiredEvent = WSSecurityEventConstants.Timestamp;
            } else if (WSSConstants.USERNAMETOKEN.equals(action)) {
                requiredEvent = WSSecurityEventConstants.UsernameToken;
            } else if (WSSConstants.SIGNATURE.equals(action)) {
View Full Code Here

TOP

Related Classes of org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event

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.