Interface ServiceEnvironment

  • All Superinterfaces:
    edu.uiuc.ncsa.security.core.Logable
    All Known Implementing Classes:
    OA2SE, ServiceEnvironmentImpl

    public interface ServiceEnvironment
    extends edu.uiuc.ncsa.security.core.Logable
    This interface has the instances of various stores and other configurable information in it.

    Created by Jeff Gaynor
    on 4/13/12 at 10:40 AM

    • Method Detail

      • getKeyPair

        KeyPair getKeyPair()
        Return a key pair for cert request generation, e.g. in limited proxy requests.
        Returns:
      • getMessages

        Map<String,​String> getMessages()
        Messages which may be displayed to the user, e.g., when authentication fails.
        Returns:
      • getMyProxyServices

        List<MyProxyServiceFacade> getMyProxyServices()
        List of known MyProxy servers. This list will be tried in order until either an operation] succeeds or there is a GeneralSecurityException. Other exceptions (such as network issues) are ignored.
        Returns:
      • getServiceAddress

        URI getServiceAddress()
        The address for this server. Since hosts can have any of several aliases, automatic determination from the servlet is usually a bad idea.
        Returns:
      • setServiceAddress

        void setServiceAddress​(URI serviceAddress)
      • getTokenForge

        TokenForge getTokenForge()
        The forge that creates delegation tokens for this service.
        Returns:
      • getAgIssuer

        AGIssuer getAgIssuer()
        The AbstractIssuer that creates edu.uiuc.ncsa.security.delegation.token.AuthorizationGrants.
        Returns:
      • getAtIssuer

        ATIssuer getAtIssuer()
        The AbstractIssuer that creates edu.uiuc.ncsa.security.delegation.token.AccessTokens.
        Returns:
      • getPaIssuer

        PAIssuer getPaIssuer()
        The AbstractIssuer that creates the edu.uiuc.ncsa.security.delegation.token.ProtectedAssets.
        Returns:
      • getMailUtil

        edu.uiuc.ncsa.security.util.mail.MailUtil getMailUtil()
        Returns the mail utility which, when configured, will send notifications for requests.
        Returns:
      • getMaxAllowedNewClientRequests

        int getMaxAllowedNewClientRequests()
      • getUsernameTransformer

        edu.uiuc.ncsa.security.servlet.UsernameTransformer getUsernameTransformer()
      • setUsernameTransformer

        void setUsernameTransformer​(edu.uiuc.ncsa.security.servlet.UsernameTransformer usernameTransformer)
      • isPingable

        boolean isPingable()
      • listStores

        List<edu.uiuc.ncsa.security.core.Store> listStores()
        List the current stores in this environment. Used at bootstrapping for various types of introspection.
        Returns: