[java-idp-plugin-duo] 14/15: Javadoc
Phil Smart
philip.smart at jisc.ac.uk
Tue Jul 14 14:29:10 UTC 2020
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch master
in repository java-idp-plugin-duo.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=b830230bdeb7b5b0fb0578ae2e2d3651f05b8343
commit b830230bdeb7b5b0fb0578ae2e2d3651f05b8343
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Jul 14 15:00:02 2020 +0100
Javadoc
---
.../net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java
index 7ff5414..6c96c58 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java
@@ -151,6 +151,7 @@ public class DuoOIDCAuthnController extends AbstractInitializableComponent{
try {
final DuoOIDCClient client = clientRegistry.getIntegrationClientOrCreate(integration);
//generate state, stash in the context for checking on return.
+ //TODO: could use a type of replay cache and storage service?
final String state = DuoSupport.generateState(32);
duoContext.setRequestState(state);
final String authURL = client.createAuthUrl(duoContext.getUsername(), state);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list