Class ConfigBasedAuthenticatorFactory


  • public class ConfigBasedAuthenticatorFactory
    extends java.lang.Object
    This class serves as an Authenticator factory. It will detect and use various configuration sources in order to produce an Authenticator instance.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Authenticator getAuthenticator​(java.lang.String serviceName)
      Retrieves authentication configuration information for the specified cloud service, and returns an Authenticator instance, or null if the configuration information could not be found.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ERRORMSG_AUTHTYPE_UNKNOWN

        public static final java.lang.String ERRORMSG_AUTHTYPE_UNKNOWN
        See Also:
        Constant Field Values
    • Method Detail

      • getAuthenticator

        public static Authenticator getAuthenticator​(java.lang.String serviceName)
        Retrieves authentication configuration information for the specified cloud service, and returns an Authenticator instance, or null if the configuration information could not be found.
        Parameters:
        serviceName - the name of the cloud service whose authentication information should be retrieved
        Returns:
        an Authenticator that reflects the properties that were found in the various config sources