package org.keycloak.adapters.saml.config.parsers;

/**
 * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
 * @version $Revision: 1 $
 */
public class ConfigXmlConstants {
    public static final String KEYCLOAK_SAML_ADAPTER ="keycloak-saml-adapter";
    public static final String SP_ELEMENT="SP";
    public static final String ENTITY_ID_ATTR = "entityID";
    public static final String SSL_POLICY_ATTR = "sslPolicy";
    public static final String NAME_ID_POLICY_FORMAT_ATTR = "nameIDPolicyFormat";
    public static final String FORCE_AUTHENTICATION_ATTR = "forceAuthentication";
    public static final String SIGNATURE_ALGORITHM_ATTR = "signatureAlgorithm";
    public static final String SIGNATURE_CANONICALIZATION_METHOD_ATTR = "signatureCanonicalizationMethod";
    public static final String LOGOUT_PAGE_ATTR = "logoutPage";


    public static final String KEYS_ELEMENT = "Keys";
    public static final String KEY_ELEMENT = "Key";
    public static final String SIGNING_ATTR = "signing";
    public static final String ENCRYPTION_ATTR = "encryption";
    public static final String CERTIFICATE_PEM_ELEMENT = "CertificatePem";
    public static final String PRIVATE_KEY_PEM_ELEMENT = "PrivateKeyPem";
    public static final String PUBLIC_KEY_PEM_ELEMENT = "PublicKeyPem";
    public static final String FILE_ATTR = "file";
    public static final String TYPE_ATTR = "type";
    public static final String RESOURCE_ATTR = "resource";
    public static final String PASSWORD_ATTR = "password";
    public static final String ALIAS_ATTR = "alias";
    public static final String KEYS_STORE_ELEMENT = "KeyStore";
    public static final String CERTIFICATE_ELEMENT = "Certificate";
    public static final String PRIVATE_KEY_ELEMENT = "PrivateKey";

    public static final String PRINCIPAL_NAME_MAPPING_ELEMENT = "PrincipalNameMapping";
    public static final String POLICY_ATTR = "policy";
    public static final String ATTRIBUTE_ATTR = "attribute";


    public static final String ROLE_MAPPING_ELEMENT = "RoleMapping";
    public static final String ATTRIBUTE_ELEMENT = "Attribute";
    public static final String FRIENDLY_ATTRIBUTE_ELEMENT = "FriendlyAttribute";
    public static final String NAME_ATTR = "name";

    public static final String IDP_ELEMENT = "IDP";
    public static final String SINGLE_SIGN_ON_SERVICE_ELEMENT = "SingleSignOnService";
    public static final String SINGLE_LOGOUT_SERVICE_ELEMENT = "SingleLogoutService";
    public static final String SIGN_REQUEST_ATTR = "signRequest";
    public static final String SIGN_RESPONSE_ATTR = "signResponse";
    public static final String REQUEST_BINDING_ATTR = "requestBinding";
    public static final String RESPONSE_BINDING_ATTR = "responseBinding";
    public static final String BINDING_URL_ATTR = "bindingUrl";
    public static final String VALIDATE_RESPONSE_SIGNATURE_ATTR = "validateResponseSignature";
    public static final String VALIDATE_REQUEST_SIGNATURE_ATTR = "validateRequestSignature";
    public static final String POST_BINDING_URL_ATTR = "postBindingUrl";
    public static final String REDIRECT_BINDING_URL_ATTR = "redirectBindingUrl";
}
