I'm using JWS Core 4.0.8 on Windows.

I have the following in my service security descriptor:

<gridmap value="etc/gridshib-gt-echo-0_6_3-alpha2/grid-mapfile"/>

When I execute this code in my custom interceptor:

try {
    GridMap gridmap =
        SecurityPropertiesHelper.getGridMap(id, null);
    if (gridmap != null) {
        configs.put(DEFAULT_GRIDMAP, gridmap);
        logger.info("Configured gridmap file: " +
                    gridmap.getFileName());
    } else {
        logger.info("Gridmap file is not configured");
    }
} catch (ConfigException e) {
    logger.error(e.getMessage());
}

I get this:

2009-03-06 19:51:17,138 DEBUG descriptor.SecurityPropertiesHelper
[main,getGridMap:194] getGridMap SecurityContextEchoService
2009-03-06 19:51:17,138 DEBUG
descriptor.SecureResourcePropertiesHelper
[main,getResourceSecDescriptor:139] resource is null
2009-03-06 19:51:17,138 DEBUG descriptor.ServiceSecurityConfig
[main,getGridMap:254] Get gridmap SecurityContextEchoService
2009-03-06 19:51:17,138 DEBUG descriptor.SecurityPropertiesHelper
[main,getGridMap:203] Service gridmap null
2009-03-06 19:51:17,138 DEBUG descriptor.ContainerSecurityConfig
[main,getConfig:84] initialize called
2009-03-06 19:51:17,138 INFO  gridshib.BasePDP [main,initialize:175]
Gridmap file is not configured

Any idea why the gridmap object is coming back null?  I've tried just
about anything.

Thanks in advance,
Tom

Reply via email to