-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Epic/cognito/user service refactor&password reset (#140)
* Userdetails Cognito: - Migrate signup page #122 - Updates to my profile page #127 - Delegate existing user service to an implementation provided by a Spring profile determined bean - Add *Record classes to mirror existing domain classes so that services aren't inherently coupled to GORM - Remove some direct GORM usage from Controller actions * Add cognito password reset branch * Add cognito password reset * disassociated GORM domain objects from grails and dynamically register based on profile merged UserService implementations from cognito develop branch using base domain objects * Add cognito password reset * Add cognito password reset * Add create user account * Fix logout issue * Add banner config * Fix reset password related issues * moved domain object into new package and manually config as GORM artifacts for the gorm profile * Fix gorm user service issues * Add MFA set up * Fix issues * enable travis build * Fix failing test cases * Update domain * Ignore failing tests * Remove bulk user upload and export users admin features * Update user update functionality * Fix breadcrumbs * Fix issues * Update email label * Update wordings * Add logs * Remove logs * Add Capcha for reset password * Clean up missed merge additions, add MFA service call return types * Move GORM password reset into GORM user service, remove unused updateUser method * Add assets directories for apps * Fix for unit tests, extract authorised system lookup * Move plugin Spring beans to separate @configuration file, fix Bootstrap syntax Co-authored-by: Simon Bear <[email protected]> Co-authored-by: Bruce Hyslop <[email protected]>
- Loading branch information
1 parent
d10ab46
commit 542166e
Showing
48 changed files
with
982 additions
and
327 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
Empty file.
341 changes: 249 additions & 92 deletions
341
userdetails-cognito/src/main/groovy/au/org/ala/userdetails/CognitoUserService.groovy
Large diffs are not rendered by default.
Oops, something went wrong.
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
Empty file.
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
12 changes: 12 additions & 0 deletions
12
...ls-gorm/src/main/groovy/au/org/ala/userdetails/gorm/GormAuthorisedSystemRepository.groovy
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,12 @@ | ||
package au.org.ala.userdetails.gorm | ||
|
||
import au.org.ala.userdetails.IAuthorisedSystemRepository | ||
|
||
class GormAuthorisedSystemRepository implements IAuthorisedSystemRepository { | ||
|
||
@Override | ||
Boolean findByHost(String host) { | ||
return AuthorisedSystem.findByHost(host) != null | ||
} | ||
|
||
} |
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
Oops, something went wrong.