sun.security.jgss.krb5.Krb5AcceptCredential Java Examples

The following examples show how to use sun.security.jgss.krb5.Krb5AcceptCredential. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: KrbApReq.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #2
Source File: KrbApReq.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #3
Source File: KrbApReq.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #4
Source File: KrbApReq.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #5
Source File: KrbApReq.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #6
Source File: KrbApReq.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #7
Source File: KrbApReq.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #8
Source File: KrbApReq.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #9
Source File: KrbApReq.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param keys <code>EncrtyptionKey</code>s to decrypt the message;
 *       key selected will depend on etype used to encrypte data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #10
Source File: KrbApReq.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param keys <code>EncrtyptionKey</code>s to decrypt the message;
 *       key selected will depend on etype used to encrypte data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #11
Source File: KrbApReq.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #12
Source File: KrbApReq.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}
 
Example #13
Source File: KrbApReq.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Constructs an AP-REQ message from the bytes received from the
 * peer.
 * @param message The message received from the peer
 * @param cred <code>KrbAcceptCredential</code> containing keys to decrypt
 *    the message; key selected will depend on etype used to encrypt data
 * @throws KrbException for any Kerberos protocol specific error
 * @throws IOException for any IO related errors
 *          (e.g. socket operations)
 */
 // Used in InitSecContextToken (for AP_REQ and not TGS REQ)
public KrbApReq(byte[] message,
                Krb5AcceptCredential cred,
                InetAddress initiator)
    throws KrbException, IOException {
    obuf = message;
    if (apReqMessg == null)
        decode();
    authenticate(cred, initiator);
}