Interface AuthStorageContextProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> authResForPath​(org.rundeck.storage.api.Path path)  
      java.util.Set<com.dtolabs.rundeck.core.authorization.Attribute> environmentForPath​(org.rundeck.storage.api.Path path)
      Generate the environment for a path, based on the convention that /keys/project/name/* maps to a project called "name", and anything else is within the application environment.
    • Method Detail

      • authResForPath

        java.util.Map<java.lang.String,​java.lang.String> authResForPath​(org.rundeck.storage.api.Path path)
      • environmentForPath

        java.util.Set<com.dtolabs.rundeck.core.authorization.Attribute> environmentForPath​(org.rundeck.storage.api.Path path)
        Generate the environment for a path, based on the convention that /keys/project/name/* maps to a project called "name", and anything else is within the application environment.
        Parameters:
        path - path
        Returns:
        authorization environment: a project environment if the path matches /keys/project/name/*, otherwise the application environment