Package com.cloudforgeci.api.security
Class ApplicationSamlFactory
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
com.cloudforgeci.api.core.annotation.BaseFactory
com.cloudforgeci.api.security.ApplicationSamlFactory
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
Application SAML Factory - configures SAML authentication for applications.
This factory handles SAML configuration for application-level authentication, parallel to ApplicationOidcFactory for OIDC.
Supported SAML Providers:
- cognito-saml: Deploys Keycloak as SAML bridge to Cognito (OIDC federation)
- identity-center: Uses AWS IAM Identity Center as SAML IdP
Architecture:
cognito-saml: Application ←SAML→ Keycloak ←OIDC→ Cognito User Pool identity-center: Application ←SAML→ IAM Identity Center
Factory Orchestration:
1. CognitoAuthenticationFactory (if cognito-saml)
2. IdentityCenterSamlFactory (if identity-center)
3. ApplicationOidcFactory
4. ApplicationSamlFactory ← YOU ARE HERE
└─ KeycloakFactory (if cognito-saml)
Configuration Example:
{
"authMode": "application-oidc",
"oidcProvider": "cognito-saml", // Triggers Keycloak deployment
"cognitoAutoProvision": true
}
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy -
Field Summary
Fields inherited from class com.cloudforgeci.api.core.annotation.BaseFactory
cfc, config, ctx -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate()Abstract method that must be implemented by all factory subclasses.Methods inherited from class com.cloudforgeci.api.core.annotation.BaseFactory
getDeploymentContext, getSecurityProfileConfiguration, getSystemContextMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ApplicationSamlFactory
-
-
Method Details
-
create
public void create()Description copied from class:BaseFactoryAbstract method that must be implemented by all factory subclasses. This method should contain the actual infrastructure creation logic.- Specified by:
createin classBaseFactory
-