[java-identity-provider] branch main updated: Remove unused (duplicate) predicate.
Scott Cantor
cantor.2 at osu.edu
Tue Feb 14 15:18:30 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=0b031aea6429fa2f0a9ad15192265be5b0fb2d89
The following commit(s) were added to refs/heads/main by this push:
new 0b031aea6 Remove unused (duplicate) predicate.
0b031aea6 is described below
commit 0b031aea6429fa2f0a9ad15192265be5b0fb2d89
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Feb 14 10:18:27 2023 -0500
Remove unused (duplicate) predicate.
---
.../DetailedErrorsProfileConfigPredicate.java | 51 ----------------------
1 file changed, 51 deletions(-)
diff --git a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/logic/DetailedErrorsProfileConfigPredicate.java b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/logic/DetailedErrorsProfileConfigPredicate.java
deleted file mode 100644
index e8709ad96..000000000
--- a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/logic/DetailedErrorsProfileConfigPredicate.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the University Corporation for Advanced Internet Development,
- * Inc. (UCAID) under one or more contributor license agreements. See the
- * NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The UCAID licenses this file to You under the Apache
- * License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.idp.saml.profile.config.logic;
-
-import javax.annotation.Nullable;
-
-import net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate;
-import net.shibboleth.profile.context.RelyingPartyContext;
-import net.shibboleth.profile.relyingparty.RelyingPartyConfiguration;
-
-import org.opensaml.profile.context.ProfileRequestContext;
-
-/**
- * A predicate that evaluates
- * {@link net.shibboleth.idp.relyingparty.RelyingPartyConfiguration#isDetailedErrors(ProfileRequestContext)}
- * if available from a {@link RelyingPartyContext} obtained via a lookup function,
- * by default a child of the {@link ProfileRequestContext}.
- *
- * <p>If unable to locate a specific setting, the predicate is false.</p>
- */
-public class DetailedErrorsProfileConfigPredicate extends AbstractRelyingPartyPredicate {
-
- /** {@inheritDoc} */
- public boolean test(@Nullable final ProfileRequestContext input) {
- final RelyingPartyContext rpc = getRelyingPartyContextLookupStrategy().apply(input);
- if (rpc != null) {
- final RelyingPartyConfiguration rpConfig = rpc.getConfiguration();
- if (rpConfig instanceof net.shibboleth.idp.relyingparty.RelyingPartyConfiguration) {
- return ((net.shibboleth.idp.relyingparty.RelyingPartyConfiguration) rpConfig).isDetailedErrors(input);
- }
- }
-
- return false;
- }
-
-}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list