perfsonar-dev - [GEANT/SA2/ps-java-services] r5689 - trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService
Subject: perfsonar development work
List archive
[GEANT/SA2/ps-java-services] r5689 - trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService
Chronological Thread
- From:
- To:
- Subject: [GEANT/SA2/ps-java-services] r5689 - trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService
- Date: Wed, 2 Jun 2010 11:21:18 +0100
Author: rediris.montes
Date: 2010-06-02 11:21:18 +0100 (Wed, 02 Jun 2010)
New Revision: 5689
Modified:
trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService/GenericServiceEngine.java
Log:
- Change: some minus bugs
- Change: now it doesn't verify who has signed the CRL
Modified:
trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService/GenericServiceEngine.java
===================================================================
---
trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService/GenericServiceEngine.java
2010-06-02 10:06:55 UTC (rev 5688)
+++
trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService/GenericServiceEngine.java
2010-06-02 10:21:18 UTC (rev 5689)
@@ -123,6 +123,8 @@
logger.debug("GenericServiceEngine: truststore passwd =
"+configuration.getExtensionOption("auth-engine",
"service.as.truststore_password"));
props.put(Configurator.PROPS_TRUSTSTORE_FILE,configuration.getExtensionOption("auth-engine",
"service.as.truststore_file"));
logger.debug("GenericServiceEngine: truststore file =
"+configuration.getExtensionOption("auth-engine",
"service.as.truststore_file"));
+ props.put(Configurator.PROPS_CRL_ENABLED, "false");
+ logger.debug("GenericServiceEngine: validating CRL = false");
props.put(Configurator.PROPS_VALID_COMPONENTS,configuration.getExtensionOption("auth-engine",
"service.as.valid_components"));
logger.debug("GenericServiceEngine: valid components =
"+configuration.getExtensionOption("auth-engine",
"service.as.valid_components"));
props.put(Configurator.PROPS_SAML_VERSION,"1.1");
@@ -257,6 +259,7 @@
}
try {
+ System.out.println(se.toString());
ArrayList<?> list =
se.getHeader().getHeaderBlocksWithNSURI(WSSECHEADER_NS);
SOAPHeaderBlock shb = (SOAPHeaderBlock) list.get(0);
Iterator<?> it = shb.getChildrenWithName(new
QName(WSSECHEADER_NS, WSSECHEADER_BINARY));
@@ -380,6 +383,7 @@
logger.error(m);
throw e;
} catch (WSSecurityException e) {
+ e.printStackTrace();
logger.error("WSSecurityException: "+e.getMessage());
String errorCode="error.authn.wssec";
if
((e.getErrorCode()==WSSecurityException.INVALID_SECURITY)&&
@@ -452,6 +456,7 @@
e.printStackTrace();
String m = "GenericServiceEngine: the X509
certificate is not valid";
logger.info(m);
+ logger.info("Exception: "+e.getMessage());
throw new
PerfSONARException("error.authn.x509_not_valid",m,e);
}
logger.info("GenericServiceEngine: the X509 certificate is
valid");
- [GEANT/SA2/ps-java-services] r5689 - trunk/perfsonar-java-as/src/main/java/org/perfsonar/service/authService, svn-noreply, 06/02/2010
Archive powered by MHonArc 2.6.16.