opensaml-2.5.5

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

- Namespace List
- Namespace Members

Classes | Functions
opensaml::saml2p Namespace Reference

SAML 2.0 protocol namespace. More...

## Classes
class | SAML2Artifact
| Base class for SAML 2.0 artifacts. More...
class | SAML2ArtifactType0004
| Type 0x0004 SAML 2.0 artifact class. More...
class | SAML2MessageDecoder
| Base class for SAML 2.0 MessageDecoders. More...
class | SAML2SOAPClient
| Specialized SOAPClient for SAML 2.0 SOAP binding. More...

## Functions
char * | deflate (char *in, unsigned int in_len, unsigned int *out_len)
| Deflates data in accordance with RFC1951. More...
unsigned int | inflate (char *in, unsigned int in_len, std::ostream &out)
| Inflates data compressed in accordance with RFC1951 and sends the results to an output stream. More...
| DECL_XMLOBJECT_SIMPLE (, Artifact, Artifact, SAML 2.0 Artifact element)
| DECL_XMLOBJECT_SIMPLE (, GetComplete, GetComplete, SAML 2.0 GetComplete element)
| DECL_XMLOBJECT_SIMPLE (, RequesterID, RequesterID, SAML 2.0 RequesterID element)
| DECL_XMLOBJECT_SIMPLE (, SessionIndex, SessionIndex, SAML 2.0 SessionIndex element)
| DECL_XMLOBJECT_SIMPLE (, StatusMessage, Message, SAML 2.0 StatusMessage element)
| DECL_XMLOBJECT_SIMPLE (, RespondTo, Name, SAML 2.0 third-party request RespondTo extension element)
| BEGIN_XMLOBJECT (, Asynchronous, xmltooling::XMLObject, SAML 2.0 Asynchronous logout extension element)
| BEGIN_XMLOBJECT (, Extensions, xmltooling::ElementExtensibleXMLObject, SAML 2.0 protocol Extensions element)
| BEGIN_XMLOBJECT (, RequestAbstractType, saml2::RootObject, SAML 2.0 RequestAbstractType base type)
| BEGIN_XMLOBJECT (, StatusCode, xmltooling::XMLObject, SAML 2.0 StatusCode element)
| DECL_STRING_ATTRIB (Value, VALUE)
| BEGIN_XMLOBJECT (, AuthnQuery, SubjectQuery, SAML 2.0 AuthnQuery element)
| DECL_STRING_ATTRIB (SessionIndex, SESSIONINDEX)
| DECL_TYPED_CHILD (RequestedAuthnContext)
| BEGIN_XMLOBJECT (, AttributeQuery, SubjectQuery, SAML 2.0 AttributeQuery element)
| DECL_TYPED_FOREIGN_CHILDREN (Attribute, saml2)
| BEGIN_XMLOBJECT (, AuthzDecisionQuery, SubjectQuery, SAML 2.0 AuthzDecisionQuery element)
| DECL_STRING_ATTRIB (Resource, RESOURCE)
| DECL_TYPED_FOREIGN_CHILDREN (Action, saml2)
| DECL_TYPED_FOREIGN_CHILD (Evidence, saml2)
| BEGIN_XMLOBJECT (, NameIDPolicy, xmltooling::XMLObject, SAML 2.0 NameIDPolicy element)
| DECL_STRING_ATTRIB (Format, FORMAT)
| DECL_STRING_ATTRIB (SPNameQualifier, SPNAMEQUALIFIER)
| DECL_BOOLEAN_ATTRIB (AllowCreate, ALLOWCREATE, false)
| BEGIN_XMLOBJECT (, IDPEntry, xmltooling::XMLObject, SAML2.0 IDPEntry element)
| DECL_STRING_ATTRIB (ProviderID, PROVIDERID)
| DECL_STRING_ATTRIB (Name, NAME)
| DECL_STRING_ATTRIB (Loc, LOC)
| BEGIN_XMLOBJECT (, IDPList, xmltooling::XMLObject, SAML 2.0 IDPList element)
| DECL_TYPED_CHILDREN (IDPEntry)
| DECL_TYPED_CHILD (GetComplete)
| BEGIN_XMLOBJECT (, Scoping, xmltooling::XMLObject, SAML 2.0 Scoping element)
| DECL_INTEGER_ATTRIB (ProxyCount, PROXYCOUNT)
| DECL_TYPED_CHILD (IDPList)
| DECL_TYPED_CHILDREN (RequesterID)
| BEGIN_XMLOBJECT (, AuthnRequest, RequestAbstractType, SAML 2.0 AuthnRequest element)
| DECL_BOOLEAN_ATTRIB (ForceAuthn, FORCEAUTHN, false)
| DECL_BOOLEAN_ATTRIB (IsPassive, ISPASSIVE, false)
| DECL_STRING_ATTRIB (ProtocolBinding, PROTOCOLBINDING)
| DECL_INTEGER_ATTRIB (AssertionConsumerServiceIndex, ASSERTIONCONSUMERSERVICEINDEX)
| DECL_STRING_ATTRIB (AssertionConsumerServiceURL, ASSERTIONCONSUMERSERVICEURL)
| DECL_INTEGER_ATTRIB (AttributeConsumingServiceIndex, ATTRIBUTECONSUMINGSERVICEINDEX)
| DECL_STRING_ATTRIB (ProviderName, PROVIDERNAME)
| DECL_TYPED_CHILD (NameIDPolicy)
| DECL_TYPED_FOREIGN_CHILD (Conditions, saml2)
| DECL_TYPED_CHILD (Scoping)
| BEGIN_XMLOBJECT (, Response, StatusResponseType, SAML 2.0 Response element)
| DECL_TYPED_FOREIGN_CHILDREN (Assertion, saml2)
| DECL_TYPED_FOREIGN_CHILDREN (EncryptedAssertion, saml2)
| BEGIN_XMLOBJECT (, ArtifactResolve, RequestAbstractType, SAML 2.0 ArtifactResolve element)
| DECL_TYPED_CHILD (Artifact)
| BEGIN_XMLOBJECT (, ArtifactResponse, StatusResponseType, SAML 2.0 ArtifactResponse element)
| DECL_XMLOBJECT_CHILD (Payload)
| BEGIN_XMLOBJECT (, Terminate, xmltooling::XMLObject, SAML 2.0 Terminate element)
| BEGIN_XMLOBJECT (, NewID, saml2::EncryptableObject, SAML 2.0 NewID element)
| DECL_SIMPLE_CONTENT (NewID)
| BEGIN_XMLOBJECT (, NewEncryptedID, saml2::EncryptedElementType, SAML 2.0 NewEncryptedID element)
| BEGIN_XMLOBJECT (, ManageNameIDRequest, RequestAbstractType, SAML 2.0 ManageNameIDRequest element)
| DECL_TYPED_FOREIGN_CHILD (NameID, saml2)
| DECL_TYPED_FOREIGN_CHILD (EncryptedID, saml2)
| DECL_TYPED_CHILD (NewID)
| DECL_TYPED_CHILD (NewEncryptedID)
| DECL_TYPED_CHILD (Terminate)
| BEGIN_XMLOBJECT (, ManageNameIDResponse, StatusResponseType, SAML 2.0 ManageNameIDResponse element)
| BEGIN_XMLOBJECT (, LogoutRequest, RequestAbstractType, SAML 2.0 LogoutRequest element)
| DECL_STRING_ATTRIB (Reason, REASON)
| DECL_DATETIME_ATTRIB (NotOnOrAfter, NOTONORAFTER)
| DECL_TYPED_FOREIGN_CHILD (BaseID, saml2)
| DECL_TYPED_CHILDREN (SessionIndex)
| BEGIN_XMLOBJECT (, LogoutResponse, StatusResponseType, SAML 2.0 LogoutResponse element)
| BEGIN_XMLOBJECT (, NameIDMappingRequest, RequestAbstractType, SAML 2.0 NameIDMappingRequest element)
| BEGIN_XMLOBJECT (, NameIDMappingResponse, StatusResponseType, SAML 2.0 NameIDMappingResponse element)
| DECL_XMLOBJECTBUILDER (, Artifact, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, ArtifactResolve, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, ArtifactResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, AssertionIDRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, AttributeQuery, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, AuthnQuery, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, AuthnRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, AuthzDecisionQuery, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, Extensions, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, GetComplete, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, IDPEntry, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, IDPList, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, LogoutRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, LogoutResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, ManageNameIDRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, ManageNameIDResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, NameIDMappingRequest, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, NameIDMappingResponse, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, NameIDPolicy, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, NewEncryptedID, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, NewID, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, RequestedAuthnContext, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, RequesterID, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, Response, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, Scoping, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, SessionIndex, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, Status, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, StatusCode, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, StatusDetail, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, StatusMessage, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, Terminate, samlconstants::SAML20P_NS, samlconstants::SAML20P_PREFIX)
| DECL_XMLOBJECTBUILDER (, RespondTo, samlconstants::SAML20P_THIRDPARTY_EXT_NS, samlconstants::SAML20P_THIRDPARTY_EXT_PREFIX)
| DECL_XMLOBJECTBUILDER (, Asynchronous, samlconstants::SAML20P_ASYNCSLO_EXT_NS, samlconstants::SAML20P_ASYNCSLO_EXT_PREFIX)
void | 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 | COMPARISON_EXACT []
| 'exact' Comparison
static const XMLCh | COMPARISON_MINIMUM []
| 'minimum' Comparison
static const XMLCh | COMPARISON_MAXIMUM []
| 'maximum' Comparison
static const XMLCh | 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 | REASON_USER []
| Reason value 'urn:oasis:names:tc:SAML:2.0:logout:user'.
static const XMLCh | REASON_ADMIN []
| Reason value 'urn:oasis:names:tc:SAML:2.0:logout:admin'.
static const XMLCh | REASON_GLOBAL_TIMEOUT []
| Reason value 'urn:oasis:names:tc:SAML:2.0:logout:global-timeout'.
static const XMLCh | 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 | TYPE_NAME []
| AsynchronousType local name. More...
| END_XMLOBJECT
static const XMLCh | SUCCESS []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:Success'.
static const XMLCh | REQUESTER []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:Requester'.
static const XMLCh | RESPONDER []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:Responder'.
static const XMLCh | VERSION_MISMATCH []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:VersionMismatch'.
static const XMLCh | AUTHN_FAILED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:AuthnFailed'.
static const XMLCh | INVALID_ATTR_NAME_OR_VALUE []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:InvalidAttrNameOrValue'.
static const XMLCh | INVALID_NAMEID_POLICY []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy'.
static const XMLCh | NO_AUTHN_CONTEXT []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext'.
static const XMLCh | NO_AVAILABLE_IDP []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP'.
static const XMLCh | NO_PASSIVE []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoPassive'.
static const XMLCh | NO_SUPPORTED_IDP []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP'.
static const XMLCh | PARTIAL_LOGOUT []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:PartialLogout'.
static const XMLCh | PROXY_COUNT_EXCEEDED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:ProxyCountExceeded'.
static const XMLCh | REQUEST_DENIED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestDenied'.
static const XMLCh | REQUEST_UNSUPPORTED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported'.
static const XMLCh | REQUEST_VERSION_DEPRECATED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionDeprecated'.
static const XMLCh | REQUEST_VERSION_TOO_HIGH []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooHigh'.
static const XMLCh | REQUEST_VERSION_TOO_LOW []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooLow'.
static const XMLCh | RESOURCE_NOT_RECOGNIZED []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:ResourceNotRecognized'.
static const XMLCh | TOO_MANY_RESPONSES []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:TooManyResponses'.
static const XMLCh | UNKNOWN_ATTR_PROFILE []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:UnknownAttrProfile'.
static const XMLCh | UNKNOWN_PRINCIPAL []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal'.
static const XMLCh | UNSUPPORTED_BINDING []
| StatusCode Value 'urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding'.
| DECL_INHERITED_STRING_ATTRIB (ID, ID)
| DECL_INHERITED_STRING_ATTRIB (Version, VER)
| DECL_INHERITED_DATETIME_ATTRIB (IssueInstant, ISSUEINSTANT)
| DECL_STRING_ATTRIB (Destination, DESTINATION)
| DECL_STRING_ATTRIB (Consent, CONSENT)
| DECL_INHERITED_TYPED_FOREIGN_CHILD (Issuer, saml2)
| DECL_TYPED_CHILD (Extensions)
| DECL_TYPED_CHILD (StatusCode)
| BEGIN_XMLOBJECT (, StatusDetail, xmltooling::ElementExtensibleXMLObject, SAML 2.0 StatusDetail element)
| BEGIN_XMLOBJECT (, Status, opensaml::Status, SAML 2.0 Status element)
| DECL_TYPED_CHILD (StatusMessage)
| DECL_TYPED_CHILD (StatusDetail)
| BEGIN_XMLOBJECT (, StatusResponseType, saml2::RootObject, SAML 2.0 StatusResponseType base type)
| DECL_STRING_ATTRIB (InResponseTo, INRESPONSETO)
| DECL_TYPED_CHILD (Status)
| BEGIN_XMLOBJECT (, AssertionIDRequest, RequestAbstractType, SAML 2.0 AssertionIDRequest element)
| DECL_TYPED_FOREIGN_CHILDREN (AssertionIDRef, saml2)
| BEGIN_XMLOBJECT (, SubjectQuery, RequestAbstractType, SAML 2.0 SubjectQuery abstract element)
| DECL_TYPED_FOREIGN_CHILD (Subject, saml2)
| BEGIN_XMLOBJECT (, RequestedAuthnContext, xmltooling::XMLObject, SAML 2.0 RequestedAuthnContext element)
| DECL_STRING_ATTRIB (Comparison, COMPARISON)
| DECL_TYPED_FOREIGN_CHILDREN (AuthnContextClassRef, saml2)
| DECL_TYPED_FOREIGN_CHILDREN (AuthnContextDeclRef, saml2)

## Detailed Description

SAML 2.0 protocol namespace.

## Function Documentation

char* opensaml::saml2p::deflate | ( | char * | in,
|  | unsigned int | in_len,
|  | unsigned int * | out_len
| ) |  |

Deflates data in accordance with RFC1951.

The caller must free the resulting buffer using delete[]

Parameters

  in | the data to compress
  in_len | length of input data
  out_len | will contain the length of the resulting data

Returns
  allocated buffer of out_len bytes containing deflated data

unsigned int opensaml::saml2p::inflate | ( | char * | in,
|  | unsigned int | in_len,
|  | std::ostream & | out
| ) |  |

Inflates data compressed in accordance with RFC1951 and sends the results to an output stream.

Parameters

  in | the data to inflate
  in_len | length of input data
  out | reference to output stream to receive data

Returns
  number of bytes written to stream

## Variable Documentation

static const XMLCh opensaml::saml2p::TYPE_NAME
| static

AsynchronousType local name.

NameIDMappingResponseType local name.

NameIDMappingRequestType local name.

LogoutRequestType local name.

ManageNameIDRequestType local name.

TerminateType local name.

ArtifiactResponseType local name.

ArtifiactResolveType local name.

ResponseType local name.

AuthnRequestType local name.

ScopingType local name.

IDPListType local name.

IDPEntryType local name.

NameIDPolicyType local name.

AuthzDecisionQueryType local name.

AttributeQueryType local name.

AuthnQueryType local name.

RequestedAuthnContextType local name.

SubjectQueryAbstractType local name.

AssertionIDRequest local name.

StatusResponseType local name.

StatusType local name.

StatusDetailType local name.

StatusCodeType local name.

RequestAbstractType local name.

ExtensionsType local name.