Package ddf.security.samlp.impl
Class SamlProtocol
java.lang.Object
ddf.security.samlp.impl.SamlProtocol
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Elementstatic org.opensaml.saml.saml2.core.AttributeQuerycreateAttributeQuery(org.opensaml.saml.saml2.core.Issuer issuer, org.opensaml.saml.saml2.core.Subject subject) static org.opensaml.saml.saml2.core.AttributeQuerycreateAttributeQuery(org.opensaml.saml.saml2.core.Issuer issuer, org.opensaml.saml.saml2.core.Subject subject, String destination) static org.opensaml.saml.saml2.metadata.EntityDescriptorcreateIdpMetadata(String entityId, String signingCert, String encryptionCert, List<String> nameIds, String singleSignOnLocationRedirect, String singleSignOnLocationPost, String singleSignOnLocationSoap, String singleLogOutLocation) static org.opensaml.saml.saml2.core.IssuercreateIssuer(String issuerValue) static ddf.security.samlp.LogoutWrapper<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 ddf.security.samlp.LogoutWrapper<org.opensaml.saml.saml2.core.LogoutResponse> createLogoutResponse(org.opensaml.saml.saml2.core.Issuer issuer, org.opensaml.saml.saml2.core.Status status, String id) static ddf.security.samlp.LogoutWrapper<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.NameIDcreateNameID(String nameIdValue) static org.opensaml.saml.saml2.core.ResponsecreateResponse(org.opensaml.saml.saml2.core.Issuer issuer, org.opensaml.saml.saml2.core.Status status, String requestId, Element samlAssertion) static org.opensaml.soap.soap11.EnvelopecreateSoapMessage(org.opensaml.saml.common.SignableSAMLObject signableSAMLObject) static org.opensaml.saml.saml2.metadata.EntityDescriptorcreateSpMetadata(String entityId, String signingCert, String encryptionCert, List<String> nameIds, String singleLogOutLocation, String assertionConsumerServiceLocationRedirect, String assertionConsumerServiceLocationPost, String assertionConsumerServiceLocationPaos) static org.opensaml.saml.saml2.core.StatuscreateStatus(String statusValue) static org.opensaml.saml.saml2.core.StatuscreateStatus(String statusValue, String message) static org.opensaml.saml.saml2.core.StatusCodecreateStatusCode(String statusValue) static org.opensaml.saml.saml2.core.SubjectcreateSubject(org.opensaml.saml.saml2.core.NameID nameId) static Durationstatic ElementgetDomElement(Node node) static org.opensaml.core.xml.XMLObjectgetXmlObjectFromNode(Node node) static javax.xml.soap.SOAPPartparseSoapMessage(String samlRequest)
-
Field Details
-
SUPPORTED_PROTOCOL
- See Also:
-
REDIRECT_BINDING
- See Also:
-
SOAP_BINDING
- See Also:
-
PAOS_BINDING
- See Also:
-
POST_BINDING
- See Also:
-
-
Method Details
-
createResponse
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 - Throws:
org.apache.wss4j.common.ext.WSSecurityException
-
createIssuer
-
createNameID
-
createSubject
public static org.opensaml.saml.saml2.core.Subject createSubject(org.opensaml.saml.saml2.core.NameID nameId) -
createStatus
-
createStatus
-
createStatusCode
-
createIdpMetadata
-
createSpMetadata
public static org.opensaml.saml.saml2.metadata.EntityDescriptor createSpMetadata(String entityId, String signingCert, String encryptionCert, List<String> nameIds, String singleLogOutLocation, String assertionConsumerServiceLocationRedirect, String assertionConsumerServiceLocationPost, String assertionConsumerServiceLocationPaos) -
getCacheDuration
-
createAttributeQuery
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) -
createAttributeQuery
public static org.opensaml.saml.saml2.core.AttributeQuery createAttributeQuery(org.opensaml.saml.saml2.core.Issuer issuer, org.opensaml.saml.saml2.core.Subject subject) -
createLogoutRequest
-
createLogoutResponse
-
createLogoutResponse
public static ddf.security.samlp.LogoutWrapper<org.opensaml.saml.saml2.core.LogoutResponse> createLogoutResponse(org.opensaml.saml.saml2.core.Issuer issuer, org.opensaml.saml.saml2.core.Status status, String id) -
createSoapMessage
public static org.opensaml.soap.soap11.Envelope createSoapMessage(org.opensaml.saml.common.SignableSAMLObject signableSAMLObject) -
parseSoapMessage
public static javax.xml.soap.SOAPPart parseSoapMessage(String samlRequest) throws XMLStreamException - Throws:
XMLStreamException
-
getXmlObjectFromNode
public static org.opensaml.core.xml.XMLObject getXmlObjectFromNode(Node node) throws org.apache.wss4j.common.ext.WSSecurityException, XMLStreamException - Throws:
org.apache.wss4j.common.ext.WSSecurityExceptionXMLStreamException
-
getDomElement
public static Element getDomElement(Node node) throws org.apache.wss4j.common.ext.WSSecurityException, XMLStreamException - Throws:
org.apache.wss4j.common.ext.WSSecurityExceptionXMLStreamException
-
convertDomImplementation
- Throws:
XMLStreamException
-