[java-identity-provider COMMIT] /trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthenticationFlowDescrip...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Apr 25 11:37:58 EDT 2016
Author: scantor
Date: Mon Apr 25 11:37:58 2016
New Revision: 8212
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8212&view=rev
Log:
Add an initialized component check.
Modified:
trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptor.java
Modified: trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptor.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptor.java?rev=8212&r1=8211&r2=8212&view=diff
==============================================================================
--- trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptor.java (original)
+++ trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptor.java Mon Apr 25 11:37:58 2016
@@ -114,6 +114,8 @@
* @param isSupported whether this flow supports non-browser clients
*/
public void setNonBrowserSupported(final boolean isSupported) {
+ ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
+
supportsNonBrowser = isSupported;
}
More information about the commits
mailing list