Interface KerberosAuthenticator
public interface KerberosAuthenticator
Describes an authenticator that uses Kerberos.
Its purpose is to make testing easier and will make it easier
to replace SPNEGO if that would be desired.
- Author:
- Robert Sandell <robert.sandell@sonymobile.com>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Authenticates a user given his request and response.void
dispose()
Disposal of this Authenticator.
-
Method Details
-
authenticate
Principal authenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws LoginException, IOException Authenticates a user given his request and response.- Parameters:
request
- the request to handle.response
- the response to send.- Returns:
- the Principal of the user, null if negotiation loop is not complete.
- Throws:
LoginException
- if user could not be authenticated.IOException
- if something goes wrong.
-
dispose
void dispose()Disposal of this Authenticator.
-