Package org.keycloak.saml
Class SPMetadataDescriptor
- java.lang.Object
-
- org.keycloak.saml.SPMetadataDescriptor
-
public class SPMetadataDescriptor extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description SPMetadataDescriptor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyDescriptorType
buildKeyDescriptorType(Element keyInfo, KeyTypes use, String algorithm)
static Element
buildKeyInfoElement(String keyName, String pemEncodedCertificate)
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)
-
-
-
Method Detail
-
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)
-
buildKeyDescriptorType
public static KeyDescriptorType buildKeyDescriptorType(Element keyInfo, KeyTypes use, String algorithm)
-
buildKeyInfoElement
public static Element buildKeyInfoElement(String keyName, String pemEncodedCertificate) throws ParserConfigurationException
- Throws:
ParserConfigurationException
-
-