com.genesyslab.platform.commons.protocol.auth
Interface AuthTicketAcquirer
- All Known Implementing Classes:
- KerberosTicketAcquirer, RawDataTicketAcquirer
public interface AuthTicketAcquirer
Defines interface to ticket acquiring strategy. Users of AuthTicketAcquirer
should not cache
acquired AuthTicket
instances, rather call acquireTicket(String)
for each authentication
procedure.
Typically AuthTicketAcquirer
instance is created once for a given User Principal Name.
It either performs login or reuses credentials of already logged in user. Ticket acquiring is performed
each time a ticket is used to authenticate for it could expire or security authority setting could be
changed.
- See Also:
KerberosTicketAcquirer
Method Summary |
AuthTicket |
acquireTicket(java.lang.String servicePrincipalName)
Acquires authentication ticket for a given SPN. |
acquireTicket
AuthTicket acquireTicket(java.lang.String servicePrincipalName)
throws AuthTicketAcquirerException
- Acquires authentication ticket for a given SPN.
- Parameters:
servicePrincipalName
- Service Principal Name to acquire ticket for.
- Returns:
- acquired ticket or null if KERBEROS authentication shouldn't be used (must be used login/password) in this case.
- Throws:
AuthTicketAcquirerException
- if ticket could not be acquired.
java.lang.IllegalArgumentException
- if the implementation not support null value for the servicePrincipalName argument.
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.