description = "Apereo CAS SAML Identity Provider Support"
ext {

    publishMetadata = true
    projectMetadata = [
            category: "SAML2 Protocol",
            title: "SAML2 Identity Provider",
            aliases: ["saml2"]
    ]
}
dependencies {
    api project(":api:cas-server-core-api-audit")
    api project(":api:cas-server-core-api-webflow")
    api project(":api:cas-server-core-api-monitor")

    implementation project(":core:cas-server-core-audit")
    implementation project(":core:cas-server-core-audit-api")
    implementation project(":core:cas-server-core-services")
    implementation project(":core:cas-server-core-logout-api")
    implementation project(":core:cas-server-core-web-api")
    implementation project(":core:cas-server-core-services-registry")
    implementation project(":core:cas-server-core-services-api")
    implementation project(":core:cas-server-core-authentication-api")
    implementation project(":core:cas-server-core-authentication-mfa")
    implementation project(":core:cas-server-core-authentication-mfa-api")
    implementation project(":core:cas-server-core-authentication-throttle")
    implementation project(":core:cas-server-core-services-authentication")
    implementation project(":core:cas-server-core-webflow")
    implementation project(":core:cas-server-core-multitenancy")
    implementation project(":core:cas-server-core-webflow-api")
    implementation project(":core:cas-server-core-webflow-mfa")
    implementation project(":core:cas-server-core-webflow-mfa-api")
    implementation project(":core:cas-server-core-tickets-api")
    implementation project(":core:cas-server-core-util-api")
    implementation project(":core:cas-server-core-configuration-api")
    implementation project(":core:cas-server-core-cookie-api")

    implementation project(":support:cas-server-support-saml-core")
    implementation project(":support:cas-server-support-saml-core-api")
    implementation project(":support:cas-server-support-saml-mdui-core")
    implementation project(":support:cas-server-support-saml-idp-core")
    implementation project(":support:cas-server-support-saml-idp-metadata")
    implementation project(":support:cas-server-support-saml-idp-web")
    implementation project(":support:cas-server-support-saml-idp-ticket")
    implementation project(":support:cas-server-support-pac4j-api")
    implementation project(":support:cas-server-support-pac4j-core")
    implementation project(":support:cas-server-support-actions")
    implementation project(":support:cas-server-support-actions-core")

    compileOnly project(":support:cas-server-support-jpa-util")
    compileOnly project(":support:cas-server-support-consent-api")
    compileOnly project(":support:cas-server-support-pac4j-webflow")
    
    implementation libraries.pac4jcore
    implementation libraries.shibutiljavasupport
    implementation libraries.jose4j
    compileOnly libraries.pac4jsaml

    testImplementation libraries.pac4joidcoauth
    testImplementation libraries.pac4jsaml
    testImplementation libraries.springboottomcat
    
    testImplementation project(path: ":core:cas-server-core-authentication", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-services", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-authentication-api", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-authentication-mfa-api", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-util-api", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-tickets", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-webflow", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core", configuration: "tests")

    testImplementation project(":support:cas-server-support-jpa-hibernate")
    testImplementation project(":support:cas-server-support-jpa-util")
    testImplementation project(":support:cas-server-support-json-service-registry")
    testImplementation project(":support:cas-server-support-jpa-service-registry")
    testImplementation project(":support:cas-server-support-jdbc-drivers")
    testImplementation project(":support:cas-server-support-person-directory")
    testImplementation project(":support:cas-server-support-consent-api")
    testImplementation project(":support:cas-server-support-saml")
    testImplementation project(":support:cas-server-support-pac4j-webflow")
    testImplementation project(":support:cas-server-support-consent-core")
    testImplementation project(":support:cas-server-support-throttle")
    testImplementation project(":support:cas-server-support-webconfig")
    
    testImplementation project(":core:cas-server-core-monitor")
    testImplementation project(":core:cas-server-core-util")
    testImplementation project(":core:cas-server-core")
    testImplementation project(":core:cas-server-core-validation")
    testImplementation project(":core:cas-server-core-validation-api")
    testImplementation project(":core:cas-server-core-notifications")
    testImplementation project(":core:cas-server-core-authentication")
    testImplementation project(":core:cas-server-core-configuration")
    testImplementation project(":core:cas-server-core-authentication-attributes")
    testImplementation project(":core:cas-server-core-logout")
    testImplementation project(":core:cas-server-core-cookie")
    testImplementation project(":core:cas-server-core-web")
    testImplementation project(":core:cas-server-core-tickets")
    testImplementation project(":core:cas-server-core-scripting")

}
