W3cubDocs

/OpenJDK 21

Class AuthorizationDataEntry

java.lang.Object
com.sun.security.jgss.AuthorizationDataEntry
public final class AuthorizationDataEntry extends Object
Kerberos 5 AuthorizationData entry.

Constructor Summary

Constructor Description
AuthorizationDataEntry(int type, byte[] data)
Create an AuthorizationDataEntry object.

Method Summary

Modifier and Type Method Description
byte[] getData()
Get a copy of the ad-data field.
int getType()
Get the ad-type field.

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

AuthorizationDataEntry

public AuthorizationDataEntry(int type, byte[] data)
Create an AuthorizationDataEntry object.
Parameters:
type - the ad-type
data - the ad-data, a copy of the data will be saved inside the object.

Method Details

getType

public int getType()
Get the ad-type field.
Returns:
ad-type

getData

public byte[] getData()
Get a copy of the ad-data field.
Returns:
ad-data

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.security.jgss/com/sun/security/jgss/AuthorizationDataEntry.html