enable ScopeValidation added in Application Config
@@ -50,6 +50,7 @@ public class ApplicationConfig implements Serializable, Cloneable {
private boolean useTenantDomainInLocalSubjectIdentifier = false;
private boolean useUserstoreDomainInLocalSubjectIdentifier = false;
private boolean enableAuthorization = false;
+ private boolean EnableScopeValidation = false;
public ApplicationConfig(ServiceProvider application) {
this.serviceProvider = application;
@@ -64,6 +65,7 @@ public class ApplicationConfig implements Serializable, Cloneable {
setUseUserstoreDomainInLocalSubjectIdentifier(outboundAuthConfig
.isUseUserstoreDomainInLocalSubjectIdentifier());
setEnableAuthorization(outboundAuthConfig.isEnableAuthorization());
+ setEnableScopeValidation(outboundAuthConfig.isEnableScopeValidation());
}
@@ -264,6 +266,15 @@ public class ApplicationConfig implements Serializable, Cloneable {
this.enableAuthorization = enableAuthorization;
}
+ public boolean isEnableScopeValidation() {
+ return EnableScopeValidation;
+ }
+
+ public void setEnableScopeValidation(boolean enableScopeValidation) {
+ EnableScopeValidation = enableScopeValidation;
+ }
+
+
/**
* This method will clone current class objects
* This method is to solve the issue - multiple requests for same user/SP
