[java-identity-provider] branch master updated: Some generic fixups.
Scott Cantor
cantor.2 at osu.edu
Thu Aug 22 16:32:39 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=a5a3b4e33bb0bf8b61626573c3df1985b519ec35
The following commit(s) were added to refs/heads/master by this push:
new a5a3b4e Some generic fixups.
a5a3b4e is described below
commit a5a3b4e33bb0bf8b61626573c3df1985b519ec35
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 22 16:32:36 2019 -0400
Some generic fixups.
---
.../java/net/shibboleth/idp/cas/ticket/impl/AbstractTicketService.java | 3 ++-
.../main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/ticket/impl/AbstractTicketService.java b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/ticket/impl/AbstractTicketService.java
index 73fcb52..9208cdf 100644
--- a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/ticket/impl/AbstractTicketService.java
+++ b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/ticket/impl/AbstractTicketService.java
@@ -192,7 +192,8 @@ public abstract class AbstractTicketService implements TicketServiceEx {
throw new RuntimeException("Failed to store ticket " + ticket);
}
log.debug("Storing {} in context {}", ticket, sessionId);
- if (!storageService.create(sessionId, ticket.getId(), ticket, serializer(ticket.getClass()), expiry)) {
+ if (!storageService.create(sessionId, ticket.getId(), ticket,
+ (StorageSerializer<T>) serializer(ticket.getClass()), expiry)) {
throw new RuntimeException("Failed to store ticket " + ticket);
}
} catch (final IOException e) {
diff --git a/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java b/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java
index 8c7172a..0210953 100644
--- a/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java
+++ b/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java
@@ -154,7 +154,7 @@ public class FilterAttributes extends AbstractProfileAction {
new ChildContextLookup<>(SubjectContext.class));
// Default is to locate the overall root.
- profileRequestContextFromFilterLookupStrategy = new RootContextLookup<>();
+ profileRequestContextFromFilterLookupStrategy = new RootContextLookup<>(ProfileRequestContext.class);
// Default: inbound msg context -> SAMLPeerEntityContext -> SAMLMetadataContext
metadataContextLookupStrategy =
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list