code: public Hashtable<String, String> getSecuritySpec(String serviceRoleID, String methodName) {
          if (serviceRoleID == null || serviceRoleID.isEmpty()) {
              return getDefaultSecuritySpec();
          } else if (methodName == null || methodName.isEmpty()) {
              return rolePropertiesTable.get(serviceRoleID);
          } else {
              String roleKey = serviceRoleID + "/" + methodName;
              // First see if there is already a role key at the method level
              Hashtable<String, String> properties = rolePropertiesTable.get(roleKey);
  
              // if we did not find security properties for the method level,
              // roll up to the parent service level and get properties.
              if (properties == null) {
                  properties = rolePropertiesTable.get(serviceRoleID);
              }
  
              // if we did not find method or service-level properties,
              // roll up the the default level and get default properties.
              if (properties == null) {
                  properties = getDefaultSecuritySpec();
              }
              return properties;
          }
      }
docs: Get security properties for either the a backend service or a method
  within that backend service.
  
  @param serviceRoleID -
  role identifier for a backend service. Valid options: - "default"
  (the overall default for backend services) -
  "fedoraInternalCall-1" (the role key for fedora calling back to
  itself) - A sDep PID (e.g., "sDep:9") as the identifier for a
  backend service
  @param methodName -
  a method name that is specified within a sDep service. If values
  is null, then this method will return the security properties
  defined for the backend service specified by the serviceRoleID
  parameter.
  @return a Hashtable containing the backend security properties for the
  role or role/method. The security property names, defined in
  BackendSecurityDeserializer.java, are: -
  BackendSecurityDeserializer.CALL_BASIC_AUTH -
  BackendSecurityDeserializer.CALL_SSL -
  BackendSecurityDeserializer.CALL_USERNAME -
  BackendSecurityDeserializer.CALL_PASSWORD -
  BackendSecurityDeserializer.CALLBACK_BASIC_AUTH -
  BackendSecurityDeserializer.CALLBACK_SSL -
  BackendSecurityDeserializer.IPLIST