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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KerberosAuthenticator
getInstance(Map<String,String> config)
Returns an instance of a KerberosAuthenticator object.
-
-
-
Method Detail
-
getInstance
KerberosAuthenticator getInstance(Map<String,String> config) throws LoginException, IOException, URISyntaxException, PrivilegedActionException
Returns 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.
-
-