Package org.globus.wsrf.impl.security.authentication.wssec

Examples of org.globus.wsrf.impl.security.authentication.wssec.WSSecurityException


                                  timestampElem);
                final boolean stampOk =
                    verifyTimestamp(timestamp,
                                    replayFilter.getMessageWindow());
                if (!stampOk) {
                    throw new WSSecurityException(WSSecurityException.FAILURE,
                                                  "timestampNotOk");
                }
            } else {
                checkMessageValidity(replayFilter, timestampElem,
                                     messageIDHeader);
            }
        } else {
            final String propertyValue =
                SecurityPropertiesHelper.getReplayAttackFilter(servicePath,
                                                               resource);
            if (rejectMsgSansTimestampHeader(msgCtx, propertyValue)) {
                logger.debug("Required time stamp header was not added.");
                throw new WSSecurityException(WSSecurityException.FAILURE,
                                              "timestampRequired");
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.globus.wsrf.impl.security.authentication.wssec.WSSecurityException

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.