Class SpnegoKerberosAuthenticationFactory
- java.lang.Object
-
- com.sonymobile.jenkins.plugins.kerberossso.ioc.SpnegoKerberosAuthenticationFactory
-
- All Implemented Interfaces:
KerberosAuthenticatorFactory
public class SpnegoKerberosAuthenticationFactory extends Object implements KerberosAuthenticatorFactory
Used to create SpnegoKerberosAuthenticators.- Author:
- Robert Sandell <robert.sandell@sonymobile.com>
-
-
Constructor Summary
Constructors Constructor Description SpnegoKerberosAuthenticationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KerberosAuthenticator
getInstance(Map<String,String> config)
Returns an instance of a KerberosAuthenticator object.
-
-
-
Method Detail
-
getInstance
public KerberosAuthenticator getInstance(@NonNull Map<String,String> config) throws LoginException, IOException, URISyntaxException, PrivilegedActionException
Description copied from interface:KerberosAuthenticatorFactory
Returns an instance of a KerberosAuthenticator object.- Specified by:
getInstance
in interfaceKerberosAuthenticatorFactory
- 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.
-
-