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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Principal
authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Authenticates a user given his request and response.void
dispose()
Disposal of this Authenticator.
-
-
-
Method Detail
-
authenticate
Principal authenticate(javax.servlet.http.HttpServletRequest request, javax.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.
-
-