[java-identity-provider COMMIT] /trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/SelectProfileCo...
noreply at shibboleth.net
noreply at shibboleth.net
Thu Feb 20 22:28:20 EST 2014
Author: scantor
Date: Thu Feb 20 22:28:19 2014
New Revision: 5428
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5428&view=rev
Log:
Add check for disabled profile config.
Modified:
trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/SelectProfileConfiguration.java
Modified: trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/SelectProfileConfiguration.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/SelectProfileConfiguration.java?rev=5428&r1=5427&r2=5428&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/SelectProfileConfiguration.java (original)
+++ trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/SelectProfileConfiguration.java Thu Feb 20 22:28:19 2014
@@ -107,8 +107,8 @@
final RelyingPartyConfiguration rpConfig = rpCtx.getConfiguration();
final ProfileConfiguration profileConfiguration = rpConfig.getProfileConfiguration(profileId);
- if (profileConfiguration == null) {
- log.debug("{} Profile {} is not configured for relying party configuration {}",
+ if (profileConfiguration == null || !profileConfiguration.isEnabled()) {
+ log.debug("{} Profile {} is not enabled for relying party configuration {}",
new Object[] {getLogPrefix(), profileId, rpConfig.getId(),});
ActionSupport.buildEvent(profileRequestContext, IdPEventIds.INVALID_PROFILE_CONFIG);
return;
More information about the commits
mailing list