KDCOptions ::= KerberosFlags
-- reserved(0),
-- forwardable(1),
-- forwarded(2),
-- proxiable(3),
-- proxy(4),
-- allow-postdate(5),
-- postdated(6),
-- unused7(7),
-- renewable(8),
-- unused9(9),
-- unused10(10),
-- opt-hardware-auth(11),
-- unused12(12),
-- unused13(13),
-- 15 is reserved for canonicalize
-- unused15(15),
-- 26 was unused in 1510
-- disable-transited-check(26),
-- renewable-ok(27),
-- enc-tkt-in-skey(28),
-- renew(30),
-- validate(31)
KerberosFlags ::= BIT STRING (SIZE (32..MAX))
-- minimum number of bits shall be sent,
-- but no fewer than 32
This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.
This class appears as data field in the initial request(KRB_AS_REQ) or subsequent request(KRB_TGS_REQ) to the KDC and indicates the flags that the client wants to set on the tickets. The optional bits are:
Various checks must be made before honoring an option. The restrictions on the use of some options are as follows:
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final String[] | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | KDCOptions(boolean[]
the bits to be set for the KDCOptions. data)Constructs a KDCOptions from the specified bit settings. |
| public | |
| public | KDCOptions(byte[]
the bits to be set for the KDCOptions. options)Constructs a KDCOptions from the passed bit settings. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: value true if the option is selected, false if the option is not selected.an option bit. option)Overrides sun. Gets the value(true/false) for one of the |
| public static KDCOptions | Returns: an instance of KDCOptions.the Der input stream value, which contains one or more
marshaled value. data, byte tag number. explicitTag, boolean indicate if this data field is optional optional)Parse (unmarshal) a KDCOptions from a DER input stream. |
| public void | set(int
an option bit. option, boolean true if the option is selected, false if the option is not selected. value)Overrides sun. Sets the value(true/false) for one of the |
| private void | |
| public String | toString()
Overrides sun. Returns a string representation of the object. |
| public static KDCOptions |
| ALLOW_POSTDATE | back to summary |
|---|---|
| public static final int ALLOW_POSTDATE | |
| CANONICALIZE | back to summary |
|---|---|
| public static final int CANONICALIZE | |
| CNAME_IN_ADDL_TKT | back to summary |
|---|---|
| public static final int CNAME_IN_ADDL_TKT | |
| ENC_TKT_IN_SKEY | back to summary |
|---|---|
| public static final int ENC_TKT_IN_SKEY | |
| FORWARDABLE | back to summary |
|---|---|
| public static final int FORWARDABLE | |
| FORWARDED | back to summary |
|---|---|
| public static final int FORWARDED | |
| KDC_OPT_FORWARDABLE | back to summary |
|---|---|
| private static final int KDC_OPT_FORWARDABLE | |
| KDC_OPT_PROXIABLE | back to summary |
|---|---|
| private static final int KDC_OPT_PROXIABLE | |
| KDC_OPT_RENEWABLE_OK | back to summary |
|---|---|
| private static final int KDC_OPT_RENEWABLE_OK | |
| names | back to summary |
|---|---|
| private static final String[] names | |
| POSTDATED | back to summary |
|---|---|
| public static final int POSTDATED | |
| PROXIABLE | back to summary |
|---|---|
| public static final int PROXIABLE | |
| PROXY | back to summary |
|---|---|
| public static final int PROXY | |
| RENEW | back to summary |
|---|---|
| public static final int RENEW | |
| RENEWABLE | back to summary |
|---|---|
| public static final int RENEWABLE | |
| RENEWABLE_OK | back to summary |
|---|---|
| public static final int RENEWABLE_OK | |
| RESERVED | back to summary |
|---|---|
| public static final int RESERVED | |
| UNUSED10 | back to summary |
|---|---|
| public static final int UNUSED10 | |
| UNUSED11 | back to summary |
|---|---|
| public static final int UNUSED11 | |
| UNUSED7 | back to summary |
|---|---|
| public static final int UNUSED7 | |
| UNUSED9 | back to summary |
|---|---|
| public static final int UNUSED9 | |
| VALIDATE | back to summary |
|---|---|
| public static final int VALIDATE | |
| KDCOptions | back to summary |
|---|---|
| public KDCOptions() | |
| KDCOptions | back to summary |
|---|---|
| public KDCOptions(int size, byte[] data) throws Asn1Exception | |
| KDCOptions | back to summary |
|---|---|
| public KDCOptions(boolean[] data) throws Asn1Exception Constructs a KDCOptions from the specified bit settings.
| |
| KDCOptions | back to summary |
|---|---|
| public KDCOptions(DerValue encoding) throws Asn1Exception, IOException | |
| KDCOptions | back to summary |
|---|---|
| public KDCOptions(byte[] options) Constructs a KDCOptions from the passed bit settings.
| |
| get | back to summary |
|---|---|
| public boolean get(int option) throws ArrayIndexOutOfBoundsException Overrides sun. Gets the value(true/false) for one of the
| |
| parse | back to summary |
|---|---|
| public static KDCOptions parse(DerInputStream data, byte explicitTag, boolean optional) throws Asn1Exception, IOException Parse (unmarshal) a KDCOptions from a DER input stream. This form parsing might be used when expanding a value which is part of a constructed sequence and uses explicitly tagged type.
| |
| set | back to summary |
|---|---|
| public void set(int option, boolean value) throws ArrayIndexOutOfBoundsException Overrides sun. Sets the value(true/false) for one of the
| |
| setDefault | back to summary |
|---|---|
| private void setDefault() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| with | back to summary |
|---|---|
| public static KDCOptions with(int... flags) | |