public class Krb5TokenUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Krb5TokenUtils.LoginCallbackHandler |
Constructor and Description |
---|
Krb5TokenUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decodeDataFromStream(java.io.DataInput in) |
static void |
encodeDataToStream(byte[] data,
java.io.DataOutput out) |
javax.security.auth.Subject |
generateSecuritySubject(java.lang.String jassLoginConfig,
java.lang.String username,
java.lang.String password) |
static byte[] |
initiateSecurityContext(javax.security.auth.Subject subject,
java.lang.String servicePrincipalName) |
static java.lang.String |
validateSecurityContext(javax.security.auth.Subject subject,
byte[] serviceTicket) |
public javax.security.auth.Subject generateSecuritySubject(java.lang.String jassLoginConfig, java.lang.String username, java.lang.String password) throws javax.security.auth.login.LoginException
javax.security.auth.login.LoginException
public static byte[] initiateSecurityContext(javax.security.auth.Subject subject, java.lang.String servicePrincipalName) throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSException
public static java.lang.String validateSecurityContext(javax.security.auth.Subject subject, byte[] serviceTicket) throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSException
public static void encodeDataToStream(byte[] data, java.io.DataOutput out) throws java.lang.Exception
java.lang.Exception
public static byte[] decodeDataFromStream(java.io.DataInput in) throws java.lang.Exception
java.lang.Exception
Copyright © 1998-2020 Red Hat. All Rights Reserved.