Package org.keycloak.saml
Class SPMetadataDescriptor
java.lang.Object
org.keycloak.saml.SPMetadataDescriptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyDescriptorTypebuildKeyDescriptorType(Element keyInfo, KeyTypes use, String... algorithm) static ElementbuildKeyInfoElement(String keyName, String pemEncodedCertificate) static EntityDescriptorTypebuildSPDescriptor(URI loginBinding, URI logoutBinding, URI assertionEndpoint, URI logoutEndpoint, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts) static EntityDescriptorTypebuildSPDescriptor(List<EndpointType> assertionConsumerServices, List<EndpointType> singleLogoutServices, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts) static EntityDescriptorTypebuildSPDescriptor(List<EndpointType> assertionConsumerServices, List<EndpointType> singleLogoutServices, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts, Long expiration)
-
Constructor Details
-
SPMetadataDescriptor
public SPMetadataDescriptor()
-
-
Method Details
-
buildSPDescriptor
public static EntityDescriptorType buildSPDescriptor(URI loginBinding, URI logoutBinding, URI assertionEndpoint, URI logoutEndpoint, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts) -
buildSPDescriptor
public static EntityDescriptorType buildSPDescriptor(List<EndpointType> assertionConsumerServices, List<EndpointType> singleLogoutServices, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts) -
buildSPDescriptor
public static EntityDescriptorType buildSPDescriptor(List<EndpointType> assertionConsumerServices, List<EndpointType> singleLogoutServices, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts, Long expiration) -
buildKeyDescriptorType
public static KeyDescriptorType buildKeyDescriptorType(Element keyInfo, KeyTypes use, String... algorithm) -
buildKeyInfoElement
public static Element buildKeyInfoElement(String keyName, String pemEncodedCertificate) throws ParserConfigurationException - Throws:
ParserConfigurationException
-