summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java
diff options
context:
space:
mode:
authorThomas <thomas.lenz@egiz.gv.at>2019-12-05 09:52:48 +0100
committerThomas <thomas.lenz@egiz.gv.at>2019-12-05 09:52:48 +0100
commit3fada6cef21c9b16467177d866df778203b51b4d (patch)
tree8fe8ed37b6ee9fe35a1e035ceba6c68808328415 /eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java
parent95b21a826e5d81fdeabcf4673a9e87047edaec9d (diff)
downloadEAAF-Components-3fada6cef21c9b16467177d866df778203b51b4d.tar.gz
EAAF-Components-3fada6cef21c9b16467177d866df778203b51b4d.tar.bz2
EAAF-Components-3fada6cef21c9b16467177d866df778203b51b4d.zip
some code code-style modifications
active code-quality checks!
Diffstat (limited to 'eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java35
1 files changed, 19 insertions, 16 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java
index 9e5786b6..1ab27e7f 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/IConfigurationWithSP.java
@@ -2,45 +2,47 @@ package at.gv.egiz.eaaf.core.api.idp;
import java.net.URL;
import java.util.Map;
+
import javax.annotation.Nullable;
+
import at.gv.egiz.eaaf.core.exceptions.EaafConfigurationException;
import at.gv.egiz.eaaf.core.exceptions.EaafException;
public interface IConfigurationWithSP extends IConfiguration {
- String CONFIG_PROPS_AUTH_DEFAULT_COUNTRYCODE =
- "configuration.auth.default.countrycode";
-
+ String CONFIG_PROPS_AUTH_DEFAULT_COUNTRYCODE = "configuration.auth.default.countrycode";
/**
* Get a configuration entry for a specific Service Provider.
*
* @param uniqueID Unique identifier of the Service Provider
- * @return {@link IspConfiguration} or <code>null</code> if no SP configuration was found
- * @throws EaafConfigurationException In case of a Service-Provider loading error
+ * @return {@link ISpConfiguration} or <code>null</code> if no SP configuration
+ * was found
+ * @throws EaafConfigurationException In case of a Service-Provider loading
+ * error
*/
@Nullable
- IspConfiguration getServiceProviderConfiguration(final String uniqueID)
- throws EaafConfigurationException;
-
+ ISpConfiguration getServiceProviderConfiguration(final String uniqueID) throws EaafConfigurationException;
/**
- * Get a configuration entry for a specific Service Provider that is decorated by a Object.
+ * Get a configuration entry for a specific Service Provider that is decorated
+ * by a Object.
*
* @param spIdentifier EntityID of a Service Provider
- * @param decorator Decorator that should be used to decorate the result. This decorator has to be
- * implement or extend the {@link IspConfiguration} interface
+ * @param decorator Decorator that should be used to decorate the result.
+ * This decorator has to be implement or extend the
+ * {@link ISpConfiguration} interface
* @return <code>T</code> or <code>null</code> if no SP configuration was found
- * @throws EaafConfigurationException In case of a Service-Provider loading error
+ * @throws EaafConfigurationException In case of a Service-Provider loading
+ * error
*/
@Nullable
<T> T getServiceProviderConfiguration(String spIdentifier, final Class<T> decorator)
throws EaafConfigurationException;
-
/**
- * Get a set of configuration values from file based configuration that starts with this prefix.
- * <br>
+ * Get a set of configuration values from file based configuration that starts
+ * with this prefix. <br>
* <br>
* <b>Important:</b> The configuration values must be of type String!
*
@@ -53,7 +55,8 @@ public interface IConfigurationWithSP extends IConfiguration {
* Validate a URL if it it is allowed by configuration.
*
* @param authReqUrl URL for validation
- * @return URL of the application context if the authReqUrl was valid, otherwise null
+ * @return URL of the application context if the authReqUrl was valid, otherwise
+ * null
*/
String validateIdpUrl(URL authReqUrl) throws EaafException;
}