Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2644 - trunk/perfsonar/src/org/perfsonar/service/web

Subject: perfsonar development work

List archive

perfsonar: r2644 - trunk/perfsonar/src/org/perfsonar/service/web


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2644 - trunk/perfsonar/src/org/perfsonar/service/web
  • Date: Tue, 14 Aug 2007 03:34:46 -0400

Author: rodriguez
Date: 2007-08-14 03:34:46 -0400 (Tue, 14 Aug 2007)
New Revision: 2644

Modified:
trunk/perfsonar/src/org/perfsonar/service/web/RequestHandler.java
Log:
Updated messages from authn component

Modified: trunk/perfsonar/src/org/perfsonar/service/web/RequestHandler.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/service/web/RequestHandler.java
2007-08-13 16:41:45 UTC (rev 2643)
+++ trunk/perfsonar/src/org/perfsonar/service/web/RequestHandler.java
2007-08-14 07:34:46 UTC (rev 2644)
@@ -146,27 +146,21 @@
}

// Check if it's needed authentication for this type of
message
- try {
- String
checkAuthNParam=configuration.getProperty(AuthNComponent.CHECK_AUTHN_PARAM);
- if
(checkAuthNParam!=null&&checkAuthNParam.equals(AuthNComponent.YES_CHECK_AUTHN))
{
- logger.debug(
- "RequestHandler: " +
- "Authenticating the message");
- if (authnComponent == null) throw new
PerfSONARException(
- "error.common.no_authn",
- "Cannot find authn component");
-
authnComponent.requestAuthN(requestMessage.getType());
- }
- else {
- logger.debug(
- "RequestHandler: " +
- "Automated authentication not required");
- }
- } catch (PerfSONARException e) {
- logger.debug(
- "RequestHandler: " +
- "Authentication component not configured");
- }
+ String
checkAuthNParam=configuration.getProperty(AuthNComponent.CHECK_AUTHN_PARAM);
+ if
(checkAuthNParam!=null&&checkAuthNParam.equals(AuthNComponent.YES_CHECK_AUTHN))
{
+ logger.debug(
+ "RequestHandler: " +
+ "Authenticating the message");
+ if (authnComponent == null) throw new
PerfSONARException(
+ "error.common.no_authn",
+ "Cannot find authn
component");
+
authnComponent.requestAuthN(requestMessage.getType());
+ }
+ else {
+ logger.debug(
+ "RequestHandler: " +
+ "Automated authentication not
required");
+ }


// Call on the MessageHandlerFactory to get the appropriate



  • perfsonar: r2644 - trunk/perfsonar/src/org/perfsonar/service/web, svnlog, 08/14/2007

Archive powered by MHonArc 2.6.16.

Top of Page