public class SamlProtocol extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SamlProtocol.Binding |
static class |
SamlProtocol.Type |
| Modifier and Type | Field and Description |
|---|---|
static String |
PAOS_BINDING |
static String |
POST_BINDING |
static String |
REDIRECT_BINDING |
static String |
SOAP_BINDING |
static String |
SUPPORTED_PROTOCOL |
| Modifier and Type | Method and Description |
|---|---|
static Element |
convertDomImplementation(Element node) |
static org.opensaml.saml.saml2.core.AttributeQuery |
createAttributeQuery(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Subject subject) |
static org.opensaml.saml.saml2.core.AttributeQuery |
createAttributeQuery(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Subject subject,
String destination) |
static org.opensaml.saml.saml2.metadata.EntityDescriptor |
createIdpMetadata(String entityId,
String signingCert,
String encryptionCert,
List<String> nameIds,
String singleSignOnLocationRedirect,
String singleSignOnLocationPost,
String singleSignOnLocationSoap,
String singleLogOutLocation) |
static org.opensaml.saml.saml2.core.Issuer |
createIssuer(String issuerValue) |
static org.opensaml.saml.saml2.core.LogoutRequest |
createLogoutRequest(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.NameID nameId,
String id,
List<String> sessionIndexes) |
static org.opensaml.saml.saml2.core.LogoutResponse |
createLogoutResponse(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Status status,
String id) |
static org.opensaml.saml.saml2.core.LogoutResponse |
createLogoutResponse(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Status status,
String inResponseTo,
String id) |
static org.opensaml.saml.saml2.core.NameID |
createNameID(String nameIdValue) |
static org.opensaml.saml.saml2.core.Response |
createResponse(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Status status,
String requestId,
Element samlAssertion) |
static org.opensaml.soap.soap11.Envelope |
createSoapMessage(org.opensaml.saml.common.SignableSAMLObject signableSAMLObject) |
static org.opensaml.saml.saml2.metadata.EntityDescriptor |
createSpMetadata(String entityId,
String signingCert,
String encryptionCert,
String singleLogOutLocation,
String assertionConsumerServiceLocationRedirect,
String assertionConsumerServiceLocationPost,
String assertionConsumerServiceLocationPaos) |
static org.opensaml.saml.saml2.core.Status |
createStatus(String statusValue) |
static org.opensaml.saml.saml2.core.Subject |
createSubject(org.opensaml.saml.saml2.core.NameID nameId) |
static Element |
getDomElement(Node node) |
static org.opensaml.core.xml.XMLObject |
getXmlObjectFromNode(Node node) |
static SOAPPart |
parseSoapMessage(String samlRequest) |
public static final String SUPPORTED_PROTOCOL
public static final String REDIRECT_BINDING
public static final String SOAP_BINDING
public static final String PAOS_BINDING
public static final String POST_BINDING
public static org.opensaml.saml.saml2.core.Response createResponse(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Status status,
String requestId,
Element samlAssertion)
throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityExceptionpublic static org.opensaml.saml.saml2.core.Issuer createIssuer(String issuerValue)
public static org.opensaml.saml.saml2.core.NameID createNameID(String nameIdValue)
public static org.opensaml.saml.saml2.core.Subject createSubject(org.opensaml.saml.saml2.core.NameID nameId)
public static org.opensaml.saml.saml2.core.Status createStatus(String statusValue)
public static org.opensaml.saml.saml2.metadata.EntityDescriptor createIdpMetadata(String entityId, String signingCert, String encryptionCert, List<String> nameIds, String singleSignOnLocationRedirect, String singleSignOnLocationPost, String singleSignOnLocationSoap, String singleLogOutLocation)
public static org.opensaml.saml.saml2.metadata.EntityDescriptor createSpMetadata(String entityId, String signingCert, String encryptionCert, String singleLogOutLocation, String assertionConsumerServiceLocationRedirect, String assertionConsumerServiceLocationPost, String assertionConsumerServiceLocationPaos)
public static org.opensaml.saml.saml2.core.AttributeQuery createAttributeQuery(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Subject subject,
String destination)
public static org.opensaml.saml.saml2.core.AttributeQuery createAttributeQuery(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Subject subject)
public static org.opensaml.saml.saml2.core.LogoutRequest createLogoutRequest(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.NameID nameId,
String id,
List<String> sessionIndexes)
public static org.opensaml.saml.saml2.core.LogoutResponse createLogoutResponse(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Status status,
String inResponseTo,
String id)
public static org.opensaml.saml.saml2.core.LogoutResponse createLogoutResponse(org.opensaml.saml.saml2.core.Issuer issuer,
org.opensaml.saml.saml2.core.Status status,
String id)
public static org.opensaml.soap.soap11.Envelope createSoapMessage(org.opensaml.saml.common.SignableSAMLObject signableSAMLObject)
public static SOAPPart parseSoapMessage(String samlRequest) throws XMLStreamException
XMLStreamExceptionpublic static org.opensaml.core.xml.XMLObject getXmlObjectFromNode(Node node) throws org.apache.wss4j.common.ext.WSSecurityException, XMLStreamException
org.apache.wss4j.common.ext.WSSecurityExceptionXMLStreamExceptionpublic static Element getDomElement(Node node) throws org.apache.wss4j.common.ext.WSSecurityException, XMLStreamException
org.apache.wss4j.common.ext.WSSecurityExceptionXMLStreamExceptionpublic static Element convertDomImplementation(Element node) throws XMLStreamException
XMLStreamExceptionThis work is licensed under a Creative Commons Attribution 4.0 International License.