org.opensaml.ws.wstrust.WSTrustConstants Maven / Gradle / Ivy
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.opensaml.ws.wstrust;
import javax.xml.namespace.QName;
/**
* The WS-Trust 1.3 constants.
*
* @see "WS-Trust 1.3 Specification"
*
*/
public final class WSTrustConstants {
//
// WS-Trust
//
/** WS-Trust version. */
public static final String WST_VERSION= "1.3";
/** WS-Trust namespace prefix. */
public static final String WST_PREFIX= "wst";
/** WS-Trust 1.3 namespace. */
public static final String WST_NS= "http://docs.oasis-open.org/ws-sx/ws-trust/200512";
//
// WS-Addressing
//
//* WS-Addressing RequestSecurityToken (RST) action URIs.
/** WS-Addressing RequestSecurityToken (RST) action URI 'Issue'. */
public static final String WSA_ACTION_RST_ISSUE= WST_NS + "/RST" + "/Issue";
/** WS-Addressing RequestSecurityToken (RST) action URI 'Cancel'. */
public static final String WSA_ACTION_RST_CANCEL= WST_NS + "/RST" + "/Cancel";
/** WS-Addressing RequestSecurityToken (RST) action URI 'STSCancel'. */
public static final String WSA_ACTION_RST_STSCANCEL= WST_NS + "/RST" + "/STSCancel";
/** WS-Addressing RequestSecurityToken (RST) action URI 'Validate'. */
public static final String WSA_ACTION_RST_VALIDATE= WST_NS + "/RST" + "/Validate";
/** WS-Addressing RequestSecurityToken (RST) action URI 'Renew'. */
public static final String WSA_ACTION_RST_RENEW= WST_NS + "/RST" + "/Renew";
/** WS-Addressing RequestSecurityToken (RST) action URI 'KET'. */
public static final String WSA_ACTION_RST_KET= WST_NS + "/RST" + "/KET";
// WS-Addressing RequestSecurityTokenResponse (RSTR) action URIs.
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'Issue'. */
public static final String WSA_ACTION_RSTR_ISSUE= WST_NS + "/RSTR" + "/Issue";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'Cancel'. */
public static final String WSA_ACTION_RSTR_CANCEL= WST_NS + "/RSTR" + "/Cancel";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'CancelFinal'. */
public static final String WSA_ACTION_RSTR_CANCEL_FINAL= WST_NS + "/RSTR" + "/CancelFinal";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'Validate'. */
public static final String WSA_ACTION_RSTR_VALIDATE= WST_NS + "/RSTR" + "/Validate";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'ValidateFinal'. */
public static final String WSA_ACTION_RSTR_VALIDATE_FINAL= WST_NS + "/RSTR" + "/ValidateFinal";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'Renew'. */
public static final String WSA_ACTION_RSTR_RENEW= WST_NS + "/RSTR" + "/Renew";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'RenewFinal'. */
public static final String WSA_ACTION_RSTR_RENEW_FINAL= WST_NS + "/RSTR" + "/RenewFinal";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'KET'. */
public static final String WSA_ACTION_RSTR_KET= WST_NS + "/RSTR" + "/KET";
/** WS-Addressing RequestSecurityTokenResponse (RSTR) action URI 'KETFinal'. */
public static final String WSA_ACTION_RSTR_KET_FINAL= WST_NS + "/RSTR" + "/KETFinal";
// WS-Addressing RequestSecurityTokenResponseCollection (RSTRC) action URIs.
/** WS-Addressing RequestSecurityTokenResponseCollection (RSTRC) action URI 'Issue'. */
public static final String WSA_ACTION_RSTRC_ISSUE_FINAL= WST_NS + "/RSTRC" + "/IssueFinal";
// SOAP fault codes.
/** WS-Trust SOAP fault code: "wst:InvalidRequest". */
public static final QName SOAP_FAULT_INVALID_REQUEST =
new QName(WST_NS, "InvalidRequest", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:FailedAuthentication". */
public static final QName SOAP_FAULT_FAILED_AUTHENTICATION =
new QName(WST_NS, "FailedAuthentication", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:RequestFailed". */
public static final QName SOAP_FAULT_REQUEST_FAILED =
new QName(WST_NS, "RequestFailed", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:InvalidSecurityToken". */
public static final QName SOAP_FAULT_INVALID_SECURITY_TOKEN =
new QName(WST_NS, "InvalidSecurityToken", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:AuthenticationBadElements". */
public static final QName SOAP_FAULT_AUTHENTICATION_BAD_ELEMENTS =
new QName(WST_NS, "AuthenticationBadElements", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:BadRequest". */
public static final QName SOAP_FAULT_BAD_REQUEST =
new QName(WST_NS, "BadRequest", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:ExpiredData". */
public static final QName SOAP_FAULT_EXPIRED_DATA =
new QName(WST_NS, "ExpiredData", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:InvalidTimeRange". */
public static final QName SOAP_FAULT_INVALID_TIME_RANGE =
new QName(WST_NS, "InvalidTimeRange", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:InvalidScope". */
public static final QName SOAP_FAULT_INVALID_SCOPE =
new QName(WST_NS, "InvalidScope", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:RenewNeeded". */
public static final QName SOAP_FAULT_RENEW_NEEDED =
new QName(WST_NS, "RenewNeeded", WST_PREFIX);
/** WS-Trust SOAP fault code: "wst:UnableToRenew". */
public static final QName SOAP_FAULT_UNABLE_TO_RENEW =
new QName(WST_NS, "UnableToRenew", WST_PREFIX);
/** Constructor. Private to prevent instantiation. */
private WSTrustConstants() { }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy