forked from apereo/cas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
764 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
...apereo/cas/configuration/model/support/cognito/AmazonCognitoAuthenticationProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
package org.apereo.cas.configuration.model.support.cognito; | ||
|
||
import org.apereo.cas.configuration.model.core.authentication.PasswordEncoderProperties; | ||
import org.apereo.cas.configuration.model.core.authentication.PrincipalTransformationProperties; | ||
import org.apereo.cas.configuration.model.support.aws.BaseAmazonWebServicesProperties; | ||
import org.apereo.cas.configuration.support.RequiredProperty; | ||
import org.apereo.cas.configuration.support.RequiresModule; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.springframework.boot.context.properties.NestedConfigurationProperty; | ||
|
||
/** | ||
* This is {@link AmazonCognitoAuthenticationProperties}. | ||
* | ||
* @author Misagh Moayyed | ||
* @since 6.0.0 | ||
*/ | ||
@RequiresModule(name = "cas-server-support-aws-cognito-authentication") | ||
@Getter | ||
@Setter | ||
public class AmazonCognitoAuthenticationProperties extends BaseAmazonWebServicesProperties { | ||
/** | ||
* The name of the authentication handler. | ||
*/ | ||
private String name; | ||
|
||
/** | ||
* Password encoding properties. | ||
*/ | ||
@NestedConfigurationProperty | ||
private PasswordEncoderProperties passwordEncoder = new PasswordEncoderProperties(); | ||
|
||
/** | ||
* Principal transformation properties. | ||
*/ | ||
@NestedConfigurationProperty | ||
private PrincipalTransformationProperties principalTransformation = new PrincipalTransformationProperties(); | ||
|
||
/** | ||
* The order of this authentication handler in the chain. | ||
*/ | ||
private int order = Integer.MAX_VALUE; | ||
|
||
/** | ||
* The application client id, created in Cognito without a secret key. | ||
*/ | ||
@RequiredProperty | ||
private String clientId; | ||
|
||
/** | ||
* The user pool identifiers where accounts may be located. | ||
*/ | ||
@RequiredProperty | ||
private String userPoolId; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
description = "Apereo CAS Core Utility APIs" | ||
dependencies { | ||
api libraries.jose4j | ||
implementation libraries.jose4j | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule apereo.github.io
updated
2 files
+1 −1 | _includes/footer.html | |
+4 −0 | _posts/cas/2018-11-30-600rc4-release.md |
Oops, something went wrong.