opensaml-2.5.5

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Macros | Functions
Protocols.h File Reference

Licensed to the University Corporation for Advanced Internet Development, Inc. More...

`#include <saml/saml2/core/Assertions.h>`
`#include <xercesc/util/XMLUniDefs.hpp>`

## Namespaces
| opensaml
| Common classes for OpenSAML library.
| opensaml::saml2p
| SAML 2.0 protocol namespace.

## Macros
#define | DECL_SAML2POBJECTBUILDER(cname) DECL_XMLOBJECTBUILDER(SAML_API,cname,samlconstants::SAML20P_NS,samlconstants::SAML20P_PREFIX)

## Functions
| opensaml::saml2p::DECL_XMLOBJECT_SIMPLE (, Artifact, Artifact, SAML 2.0 Artifact element)
| opensaml::saml2p::DECL_XMLOBJECT_SIMPLE (, GetComplete, GetComplete, SAML 2.0 GetComplete element)
| opensaml::saml2p::DECL_XMLOBJECT_SIMPLE (, RequesterID, RequesterID, SAML 2.0 RequesterID element)
| opensaml::saml2p::DECL_XMLOBJECT_SIMPLE (, SessionIndex, SessionIndex, SAML 2.0 SessionIndex element)
| opensaml::saml2p::DECL_XMLOBJECT_SIMPLE (, StatusMessage, Message, SAML 2.0 StatusMessage element)
| opensaml::saml2p::DECL_XMLOBJECT_SIMPLE (, RespondTo, Name, SAML 2.0 third-party request RespondTo extension element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, Asynchronous, xmltooling::XMLObject, SAML 2.0 Asynchronous logout extension element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, Extensions, xmltooling::ElementExtensibleXMLObject, SAML 2.0 protocol Extensions element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, RequestAbstractType, saml2::RootObject, SAML 2.0 RequestAbstractType base type)
| opensaml::saml2p::BEGIN_XMLOBJECT (, StatusCode, xmltooling::XMLObject, SAML 2.0 StatusCode element)
| opensaml::saml2p::DECL_STRING_ATTRIB (Value, VALUE)
| opensaml::saml2p::BEGIN_XMLOBJECT (, AuthnQuery, SubjectQuery, SAML 2.0 AuthnQuery element)
| opensaml::saml2p::DECL_STRING_ATTRIB (SessionIndex, SESSIONINDEX)
| opensaml::saml2p::DECL_TYPED_CHILD (RequestedAuthnContext)
| opensaml::saml2p::BEGIN_XMLOBJECT (, AttributeQuery, SubjectQuery, SAML 2.0 AttributeQuery element)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILDREN (Attribute, saml2)
| opensaml::saml2p::BEGIN_XMLOBJECT (, AuthzDecisionQuery, SubjectQuery, SAML 2.0 AuthzDecisionQuery element)
| opensaml::saml2p::DECL_STRING_ATTRIB (Resource, RESOURCE)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILDREN (Action, saml2)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILD (Evidence, saml2)
| opensaml::saml2p::BEGIN_XMLOBJECT (, NameIDPolicy, xmltooling::XMLObject, SAML 2.0 NameIDPolicy element)
| opensaml::saml2p::DECL_STRING_ATTRIB (Format, FORMAT)
| opensaml::saml2p::DECL_STRING_ATTRIB (SPNameQualifier, SPNAMEQUALIFIER)
| opensaml::saml2p::DECL_BOOLEAN_ATTRIB (AllowCreate, ALLOWCREATE, false)
| opensaml::saml2p::BEGIN_XMLOBJECT (, IDPEntry, xmltooling::XMLObject, SAML2.0 IDPEntry element)
| opensaml::saml2p::DECL_STRING_ATTRIB (ProviderID, PROVIDERID)
| opensaml::saml2p::DECL_STRING_ATTRIB (Name, NAME)
| opensaml::saml2p::DECL_STRING_ATTRIB (Loc, LOC)
| opensaml::saml2p::BEGIN_XMLOBJECT (, IDPList, xmltooling::XMLObject, SAML 2.0 IDPList element)
| opensaml::saml2p::DECL_TYPED_CHILDREN (IDPEntry)
| opensaml::saml2p::DECL_TYPED_CHILD (GetComplete)
| opensaml::saml2p::BEGIN_XMLOBJECT (, Scoping, xmltooling::XMLObject, SAML 2.0 Scoping element)
| opensaml::saml2p::DECL_INTEGER_ATTRIB (ProxyCount, PROXYCOUNT)
| opensaml::saml2p::DECL_TYPED_CHILD (IDPList)
| opensaml::saml2p::DECL_TYPED_CHILDREN (RequesterID)
| opensaml::saml2p::BEGIN_XMLOBJECT (, AuthnRequest, RequestAbstractType, SAML 2.0 AuthnRequest element)
| opensaml::saml2p::DECL_BOOLEAN_ATTRIB (ForceAuthn, FORCEAUTHN, false)
| opensaml::saml2p::DECL_BOOLEAN_ATTRIB (IsPassive, ISPASSIVE, false)
| opensaml::saml2p::DECL_STRING_ATTRIB (ProtocolBinding, PROTOCOLBINDING)
| opensaml::saml2p::DECL_INTEGER_ATTRIB (AssertionConsumerServiceIndex, ASSERTIONCONSUMERSERVICEINDEX)
| opensaml::saml2p::DECL_STRING_ATTRIB (AssertionConsumerServiceURL, ASSERTIONCONSUMERSERVICEURL)
| opensaml::saml2p::DECL_INTEGER_ATTRIB (AttributeConsumingServiceIndex, ATTRIBUTECONSUMINGSERVICEINDEX)
| opensaml::saml2p::DECL_STRING_ATTRIB (ProviderName, PROVIDERNAME)
| opensaml::saml2p::DECL_TYPED_CHILD (NameIDPolicy)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILD (Conditions, saml2)
| opensaml::saml2p::DECL_TYPED_CHILD (Scoping)
| opensaml::saml2p::BEGIN_XMLOBJECT (, Response, StatusResponseType, SAML 2.0 Response element)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILDREN (Assertion, saml2)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILDREN (EncryptedAssertion, saml2)
| opensaml::saml2p::BEGIN_XMLOBJECT (, ArtifactResolve, RequestAbstractType, SAML 2.0 ArtifactResolve element)
| opensaml::saml2p::DECL_TYPED_CHILD (Artifact)
| opensaml::saml2p::BEGIN_XMLOBJECT (, ArtifactResponse, StatusResponseType, SAML 2.0 ArtifactResponse element)
| opensaml::saml2p::DECL_XMLOBJECT_CHILD (Payload)
| opensaml::saml2p::BEGIN_XMLOBJECT (, Terminate, xmltooling::XMLObject, SAML 2.0 Terminate element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, NewID, saml2::EncryptableObject, SAML 2.0 NewID element)
| opensaml::saml2p::DECL_SIMPLE_CONTENT (NewID)
| opensaml::saml2p::BEGIN_XMLOBJECT (, NewEncryptedID, saml2::EncryptedElementType, SAML 2.0 NewEncryptedID element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, ManageNameIDRequest, RequestAbstractType, SAML 2.0 ManageNameIDRequest element)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILD (NameID, saml2)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILD (EncryptedID, saml2)
| opensaml::saml2p::DECL_TYPED_CHILD (NewID)
| opensaml::saml2p::DECL_TYPED_CHILD (NewEncryptedID)
| opensaml::saml2p::DECL_TYPED_CHILD (Terminate)
| opensaml::saml2p::BEGIN_XMLOBJECT (, ManageNameIDResponse, StatusResponseType, SAML 2.0 ManageNameIDResponse element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, LogoutRequest, RequestAbstractType, SAML 2.0 LogoutRequest element)
| opensaml::saml2p::DECL_STRING_ATTRIB (Reason, REASON)
| opensaml::saml2p::DECL_DATETIME_ATTRIB (NotOnOrAfter, NOTONORAFTER)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILD (BaseID, saml2)
| opensaml::saml2p::DECL_TYPED_CHILDREN (SessionIndex)
| opensaml::saml2p::BEGIN_XMLOBJECT (, LogoutResponse, StatusResponseType, SAML 2.0 LogoutResponse element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, NameIDMappingRequest, RequestAbstractType, SAML 2.0 NameIDMappingRequest element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, NameIDMappingResponse, StatusResponseType, SAML 2.0 NameIDMappingResponse element)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, Artifact, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, ArtifactResolve, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, ArtifactResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, AssertionIDRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, AttributeQuery, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, AuthnQuery, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, AuthnRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, AuthzDecisionQuery, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, Extensions, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, GetComplete, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, IDPEntry, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, IDPList, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, LogoutRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, LogoutResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, ManageNameIDRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, ManageNameIDResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, NameIDMappingRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, NameIDMappingResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, NameIDPolicy, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, NewEncryptedID, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, NewID, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, RequestedAuthnContext, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, RequesterID, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, Response, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, Scoping, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, SessionIndex, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, Status, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, StatusCode, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, StatusDetail, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, StatusMessage, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, Terminate, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, RespondTo, samlconstants::SAML20P_THIRDPARTY_EXT_NS, samlconstants::SAML20P_THIRDPARTY_EXT_PREFIX)
| opensaml::saml2p::DECL_XMLOBJECTBUILDER (, Asynchronous, samlconstants::SAML20P_ASYNCSLO_EXT_NS, samlconstants::SAML20P_ASYNCSLO_EXT_PREFIX)
void | opensaml::saml2p::registerProtocolClasses ()
| Registers builders and validators for SAML 2.0 Protocol classes into the runtime.

## Variables
RequestedAuthnContext Comparison Attribute Constants
These are the allowed values for the Comparison attribute of the RequestedAuthnContext element, as defined by SAML 2.0 Core.
static const XMLCh | opensaml::saml2p::COMPARISON_EXACT []
| 'exact' Comparison
static const XMLCh | opensaml::saml2p::COMPARISON_MINIMUM []
| 'minimum' Comparison
static const XMLCh | opensaml::saml2p::COMPARISON_MAXIMUM []
| 'maximum' Comparison
static const XMLCh | opensaml::saml2p::COMPARISON_BETTER []
| 'better' Comparison
LogoutRequest Reason URI Constants
URI Constants for the Reason attribute of the LogoutRequest element as defined by SAML 2.0 Core, section 3.7.3.
static const XMLCh | opensaml::saml2p::REASON_USER []
| Reason value 'urn:oasis:names:tc:SAML:2.0:logout:user'.
static const XMLCh | opensaml::saml2p::REASON_ADMIN []
| Reason value 'urn:oasis:names:tc:SAML:2.0:logout:admin'.
static const XMLCh | opensaml::saml2p::REASON_GLOBAL_TIMEOUT []
| Reason value 'urn:oasis:names:tc:SAML:2.0:logout:global-timeout'.
static const XMLCh | opensaml::saml2p::REASON_SP_TIMEOUT []
| Reason value 'urn:oasis:names:tc:SAML:2.0:logout:sp-timeout'.

## StatusCode Value Attribute URI Reference Constants
SAML 2.0 Core, section 3.2.2.2, predefines several URI references for use in the Value attribue of the StatusCode element. Other values may be defined elsewhere.
static const XMLCh | opensaml::saml2p::TYPE_NAME []
| AsynchronousType local name. More...
| opensaml::saml2p::END_XMLOBJECT
static const XMLCh | opensaml::saml2p::SUCCESS []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:Success'.
static const XMLCh | opensaml::saml2p::REQUESTER []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:Requester'.
static const XMLCh | opensaml::saml2p::RESPONDER []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:Responder'.
static const XMLCh | opensaml::saml2p::VERSION_MISMATCH []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:VersionMismatch'.
static const XMLCh | opensaml::saml2p::AUTHN_FAILED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:AuthnFailed'.
static const XMLCh | opensaml::saml2p::INVALID_ATTR_NAME_OR_VALUE []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:InvalidAttrNameOrValue'.
static const XMLCh | opensaml::saml2p::INVALID_NAMEID_POLICY []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy'.
static const XMLCh | opensaml::saml2p::NO_AUTHN_CONTEXT []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext'.
static const XMLCh | opensaml::saml2p::NO_AVAILABLE_IDP []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP'.
static const XMLCh | opensaml::saml2p::NO_PASSIVE []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoPassive'.
static const XMLCh | opensaml::saml2p::NO_SUPPORTED_IDP []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP'.
static const XMLCh | opensaml::saml2p::PARTIAL_LOGOUT []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:PartialLogout'.
static const XMLCh | opensaml::saml2p::PROXY_COUNT_EXCEEDED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:ProxyCountExceeded'.
static const XMLCh | opensaml::saml2p::REQUEST_DENIED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestDenied'.
static const XMLCh | opensaml::saml2p::REQUEST_UNSUPPORTED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported'.
static const XMLCh | opensaml::saml2p::REQUEST_VERSION_DEPRECATED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionDeprecated'.
static const XMLCh | opensaml::saml2p::REQUEST_VERSION_TOO_HIGH []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooHigh'.
static const XMLCh | opensaml::saml2p::REQUEST_VERSION_TOO_LOW []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooLow'.
static const XMLCh | opensaml::saml2p::RESOURCE_NOT_RECOGNIZED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:ResourceNotRecognized'.
static const XMLCh | opensaml::saml2p::TOO_MANY_RESPONSES []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:TooManyResponses'.
static const XMLCh | opensaml::saml2p::UNKNOWN_ATTR_PROFILE []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:UnknownAttrProfile'.
static const XMLCh | opensaml::saml2p::UNKNOWN_PRINCIPAL []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal'.
static const XMLCh | opensaml::saml2p::UNSUPPORTED_BINDING []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding'.
| opensaml::saml2p::DECL_INHERITED_STRING_ATTRIB (ID, ID)
| opensaml::saml2p::DECL_INHERITED_STRING_ATTRIB (Version, VER)
| opensaml::saml2p::DECL_INHERITED_DATETIME_ATTRIB (IssueInstant, ISSUEINSTANT)
| opensaml::saml2p::DECL_STRING_ATTRIB (Destination, DESTINATION)
| opensaml::saml2p::DECL_STRING_ATTRIB (Consent, CONSENT)
| opensaml::saml2p::DECL_INHERITED_TYPED_FOREIGN_CHILD (Issuer, saml2)
| opensaml::saml2p::DECL_TYPED_CHILD (Extensions)
| opensaml::saml2p::DECL_TYPED_CHILD (StatusCode)
| opensaml::saml2p::BEGIN_XMLOBJECT (, StatusDetail, xmltooling::ElementExtensibleXMLObject, SAML 2.0 StatusDetail element)
| opensaml::saml2p::BEGIN_XMLOBJECT (, Status, opensaml::Status, SAML 2.0 Status element)
| opensaml::saml2p::DECL_TYPED_CHILD (StatusMessage)
| opensaml::saml2p::DECL_TYPED_CHILD (StatusDetail)
| opensaml::saml2p::BEGIN_XMLOBJECT (, StatusResponseType, saml2::RootObject, SAML 2.0 StatusResponseType base type)
| opensaml::saml2p::DECL_STRING_ATTRIB (InResponseTo, INRESPONSETO)
| opensaml::saml2p::DECL_TYPED_CHILD (Status)
| opensaml::saml2p::BEGIN_XMLOBJECT (, AssertionIDRequest, RequestAbstractType, SAML 2.0 AssertionIDRequest element)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILDREN (AssertionIDRef, saml2)
| opensaml::saml2p::BEGIN_XMLOBJECT (, SubjectQuery, RequestAbstractType, SAML 2.0 SubjectQuery abstract element)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILD (Subject, saml2)
| opensaml::saml2p::BEGIN_XMLOBJECT (, RequestedAuthnContext, xmltooling::XMLObject, SAML 2.0 RequestedAuthnContext element)
| opensaml::saml2p::DECL_STRING_ATTRIB (Comparison, COMPARISON)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILDREN (AuthnContextClassRef, saml2)
| opensaml::saml2p::DECL_TYPED_FOREIGN_CHILDREN (AuthnContextDeclRef, saml2)

## Detailed Description

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.

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.

XMLObjects representing the SAML 2.0 Protocols schema