[java-identity-provider COMMIT] in /trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl: FilterAttri...
noreply at shibboleth.net
noreply at shibboleth.net
Sun Jan 5 15:47:13 EST 2014
Author: scantor
Date: Sun Jan 5 15:47:13 2014
New Revision: 5151
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5151&view=rev
Log:
Call super.doPreExecute()
Modified:
trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java
trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java
Modified: trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java?rev=5151&r1=5150&r2=5151&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java (original)
+++ trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java Sun Jan 5 15:47:13 2014
@@ -126,8 +126,8 @@
* @param strategy strategy used to locate the {@link SubjectContext} associated with a given
* {@link ProfileRequestContext}
*/
- public void
- setSubjectContextLookupStrategy(@Nonnull final Function<ProfileRequestContext, SubjectContext> strategy) {
+ public void setSubjectContextLookupStrategy(
+ @Nonnull final Function<ProfileRequestContext, SubjectContext> strategy) {
ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
subjectContextLookupStrategy = Constraint.isNotNull(strategy, "SubjectContext lookup strategy cannot be null");
@@ -149,8 +149,8 @@
}
/** {@inheritDoc} */
- @Override protected boolean doPreExecute(@Nonnull final ProfileRequestContext profileRequestContext)
- throws ProfileException {
+ @Override
+ protected boolean doPreExecute(@Nonnull final ProfileRequestContext profileRequestContext) throws ProfileException {
rpContext = relyingPartyContextLookupStrategy.apply(profileRequestContext);
if (rpContext == null) {
log.debug("{} No relying party context available", getLogPrefix());
@@ -182,12 +182,12 @@
return false;
}
- return true;
+ return super.doPreExecute(profileRequestContext);
}
/** {@inheritDoc} */
- @Override protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext)
- throws ProfileException {
+ @Override
+ protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext) throws ProfileException {
// Get the filer context from the profile request
// this may already exist but if not, auto-create it.
Modified: trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java?rev=5151&r1=5150&r2=5151&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java (original)
+++ trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java Sun Jan 5 15:47:13 2014
@@ -122,8 +122,8 @@
* @param strategy strategy used to locate the {@link SubjectContext} associated with a given
* {@link ProfileRequestContext}
*/
- public void
- setSubjectContextLookupStrategy(@Nonnull final Function<ProfileRequestContext, SubjectContext> strategy) {
+ public void setSubjectContextLookupStrategy(
+ @Nonnull final Function<ProfileRequestContext, SubjectContext> strategy) {
ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
subjectContextLookupStrategy = Constraint.isNotNull(strategy, "SubjectContext lookup strategy cannot be null");
@@ -145,8 +145,8 @@
}
/** {@inheritDoc} */
- @Override protected boolean doPreExecute(@Nonnull final ProfileRequestContext profileRequestContext)
- throws ProfileException {
+ @Override
+ protected boolean doPreExecute(@Nonnull final ProfileRequestContext profileRequestContext) throws ProfileException {
rpContext = relyingPartyContextLookupStrategy.apply(profileRequestContext);
if (rpContext == null) {
@@ -167,12 +167,12 @@
log.debug("{} No authentication context available.", getLogPrefix());
}
- return true;
+ return super.doPreExecute(profileRequestContext);
}
/** {@inheritDoc} */
- @Override protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext)
- throws ProfileException {
+ @Override
+ protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext) throws ProfileException {
// Get the resolution context from the profile request
// this may already exist but if not, auto-create it
More information about the commits
mailing list