svn commit: r643364 - /lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/ShibbolethModuleImpl.java
[email protected] Tue, 01 Apr 2008 11:24:21 -0000
Newsgroups
gmane.comp.cms.lenya.cvs
Message-ID
<[email protected] >
Author: andreas
Date: Tue Apr 1 04:23:52 2008
New Revision: 643364
URL: http://svn.apache.org/viewvc?rev=643364&view=rev
Log:
[minor change] replaced tabs with spaces, removed old javadoc comment.
Modified:
lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/ShibbolethModuleImpl.java
Modified: lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/ShibbolethModuleImpl.java
URL: http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/ShibbolethModuleImpl.java?rev=643364&r1=643363&r2=643364&view=diff
==============================================================================
--- lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/ShibbolethModuleImpl.java (original)
+++ lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/ShibbolethModuleImpl.java Tue Apr 1 04:23:52 2008
@@ -52,19 +52,14 @@
import edu.internet2.middleware.shibboleth.metadata.provider.XMLMetadata;
/**
- * Initial Date: 16.07.2004
- *
- * @author Mike Stock
- *
- * Comment:
- *
+ * Shibboleth module implementation.
*/
public class ShibbolethModuleImpl extends AbstractLogEnabled implements ShibbolethModule,
Configurable, Initializable, Serviceable, ThreadSafe, Disposable {
private static final String WAYF_SERVER = "WayfServer";
private static final String CONF_PROVIDER_ID = "ProviderId";
- private static final String CONF_SHIRE = "Shire";
+ private static final String CONF_SHIRE = "Shire";
private static final String CONF_METADATA = "Metadata";
private static final String CONF_AAP = "AAP";
private static final String CONF_CHECK_CERTIFICATES = "CheckCertificateValidity";
@@ -369,18 +364,18 @@
return this.wayfServerUrl;
}
- public String getShireUrl(String baseUrl) {
- return baseUrl + this.shire;
- }
-
- public String getTargetBaseUrl(String targetUrl){
- try {
+ public String getShireUrl(String baseUrl) {
+ return baseUrl + this.shire;
+ }
+
+ public String getTargetBaseUrl(String targetUrl){
+ try {
URL url = new URL(targetUrl);
return url.getProtocol() + "://" + url.getAuthority();
} catch (MalformedURLException e) {
e.printStackTrace();
}
return null;
- }
+ }
}