Interface KerberosAuthenticatorFactory
- All Known Implementing Classes:
SpnegoKerberosAuthenticationFactory
public interface KerberosAuthenticatorFactory
Factory method pattern used to create KerberosAuthenticators.
- Author:
- Robert Sandell <robert.sandell@sonymobile.com>
-
Method Summary
Modifier and TypeMethodDescriptiongetInstance
(Map<String, String> config) Returns an instance of a KerberosAuthenticator object.
-
Method Details
-
getInstance
KerberosAuthenticator getInstance(Map<String, String> config) throws LoginException, IOException, URISyntaxException, PrivilegedActionExceptionReturns an instance of a KerberosAuthenticator object.- Parameters:
config
- the config the authenticator should have.- Returns:
- an instance of a KerberosAuthenticator object.
- Throws:
LoginException
- if login goes wrong.IOException
- if the authentication fails.URISyntaxException
- if something goes wrong.PrivilegedActionException
- if something goes wrong.
-