Interface KerberosTicketValidator
- All Known Implementing Classes:
SunJaasKerberosTicketValidator
public interface KerberosTicketValidator
Implementations of this interface are used in
KerberosServiceAuthenticationProvider
to validate a Kerberos/SPNEGO
Ticket.- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvalidateTicket
(byte[] token) Validates a Kerberos/SPNEGO ticket.
-
Method Details
-
validateTicket
KerberosTicketValidation validateTicket(byte[] token) throws org.springframework.security.authentication.BadCredentialsException Validates a Kerberos/SPNEGO ticket.- Parameters:
token
- Kerbeos/SPNEGO ticket- Returns:
- authenticated kerberos principal
- Throws:
org.springframework.security.authentication.BadCredentialsException
- if the ticket is not valid
-