public class KerberosTicketAcceptor
extends java.lang.Object
Constructor | Description |
---|---|
KerberosTicketAcceptor(javax.security.auth.Subject subject,
java.lang.String servicePrincipalName,
java.lang.String keyTableFilePath) |
Creatre
KerberosTicketAcceptor object that can be used to process
tickets sent by clients on server side. |
Modifier and Type | Method | Description |
---|---|---|
AuthTicket |
acceptTicket(AuthTicket ticket) |
|
java.util.Map<java.lang.String,java.lang.String> |
getKerberosOptions() |
Gets Copy of KerberosLoginModule kerberosOptions used.
|
java.lang.String |
getKeyTablePath() |
Gets path to a file that contains key table corresponding to SPN.
|
java.lang.String |
getServicePrincipalName() |
Gets Service Principal Name that would be used by
KerberosTicketAcceptor
to accept client ticket on behalf of. |
public KerberosTicketAcceptor(javax.security.auth.Subject subject, java.lang.String servicePrincipalName, java.lang.String keyTableFilePath) throws javax.security.auth.login.LoginException
KerberosTicketAcceptor
object that can be used to process
tickets sent by clients on server side.subject
- Subject instance to use. Can be null, a new Subject would be
created in this case.servicePrincipalName
- Service Principal Name that would be used by KerberosTicketAcceptor
to accept client ticket on behalf of.keyTableFilePath
- Path to a file that contains key table corresponding to SPN.javax.security.auth.login.LoginException
public java.lang.String getServicePrincipalName()
KerberosTicketAcceptor
to accept client ticket on behalf of.KerberosTicketAcceptor
to accept client ticket on behalf of, never returns null.public java.lang.String getKeyTablePath()
public java.util.Map<java.lang.String,java.lang.String> getKerberosOptions()
public AuthTicket acceptTicket(AuthTicket ticket) throws java.security.GeneralSecurityException
ticket
- Service ticket data. Restrictions:
java.security.GeneralSecurityException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.