Project

General

Profile

« Previous | Next » 

Revision 8664

Added by Jing Tao almost 11 years ago

Set the userManagementURL property.

View differences:

src/edu/ucsb/nceas/metacat/DBTransform.java
72 72
  private String httpServer = null;
73 73
  private String contextURL = null;
74 74
  private String servletURL = null;
75
  private String userManagementURL = null;
75 76
  
76 77
  /**
77 78
   * construct a DBTransform instance.
......
91 92
    httpServer = SystemUtil.getServerURL();
92 93
    contextURL = SystemUtil.getContextURL();
93 94
    servletURL = SystemUtil.getServletURL();
95
    userManagementURL = PropertyService.getProperty("auth.userManagementUrl");
94 96
  }
95 97

  
96 98
  /**
......
196 198
        logMetacat.debug("DBTransform.doTransform - httpServer: " + httpServer);
197 199
        logMetacat.debug("DBTransform.doTransform - contextURL: " + contextURL);
198 200
        logMetacat.debug("DBTransform.doTransform - serletURL: " + servletURL);
201
        logMetacat.debug("DBTransform.doTransform - userManagementURL: " + userManagementURL);
199 202
        transformer.setParameter("cgi-prefix", cgiPrefix);
200 203
        transformer.setParameter("httpServer", httpServer);
201 204
        transformer.setParameter("contextURL", contextURL);
202 205
        transformer.setParameter("servletURL", servletURL);
203
        
206
        transformer.setParameter("userManagementURL", userManagementURL);
204 207
        // Set up parameter for transformation
205 208
        if ( param != null) {
206 209
          en = param.keys();

Also available in: Unified diff