| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private HostAddresses | |
| private PrincipalName | |
| private KerberosTime | |
| private final KeyTab | |
| private KDCOptions | |
| private PAData[] | |
| private final char[] | |
| private PrincipalName | |
| private KrbAsRep | |
| private KrbAsReq | |
| private KerberosTime | |
| private PrincipalName | |
| private KrbAsReqBuilder. | |
| private KerberosTime |
| Access | Constructor and Description |
|---|---|
| public | KrbAsReqBuilder(PrincipalName
the client of the AS-REQ. Must not be null. Might have no
realm, where default realm will be used. This realm will be the target
realm for AS-REQ. I believe a client should only get initial TGT from
its own realm. cname, KeyTab must not be null. If empty, might be quite useless.
This argument will neither be modified nor stored by the method. ktab)Creates a builder to be used by |
| public | KrbAsReqBuilder(PrincipalName
the client of the AS-REQ. Must not be null. Might have no
realm, where default realm will be used. This realm will be the target
realm for AS-REQ. I believe a client should only get initial TGT from
its own realm. cname, char[] must not be null. This argument will neither be modified
nor stored by the method. pass)Creates a builder to be used by |
| Modifier and Type | Method and Description |
|---|---|
| public KrbAsReqBuilder | |
| private KrbAsReq | Returns: the KrbAsReq objectnull (initial AS-REQ) or pakey (with preauth) key, KrbAsReqBuilder.Build a KrbAsReq object from all info fed above. |
| private void | checkState(KrbAsReqBuilder.
the expected state st,error message if state is not correct msg)Checks if the current state is the specified one. |
| public void | |
| public Credentials | |
| public Credentials | |
| public EncryptionKey[] | Returns: generated keys from password. PA-DATA from server might be used. All "default_tkt_enctypes" keys will be generated, Never null.if the caller is an initiator isInitiator)Retrieves an array of secret keys for the client. |
| private void | |
| private KrbAsReqBuilder | |
| private KrbAsReqBuilder | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| addresses | back to summary |
|---|---|
| private HostAddresses addresses | |
| cname | back to summary |
|---|---|
| private PrincipalName cname | |
| from | back to summary |
|---|---|
| private KerberosTime from | |
| ktab | back to summary |
|---|---|
| private final KeyTab ktab | |
| options | back to summary |
|---|---|
| private KDCOptions options | |
| paList | back to summary |
|---|---|
| private PAData[] paList | |
| password | back to summary |
|---|---|
| private final char[] password | |
| refCname | back to summary |
|---|---|
| private PrincipalName refCname | |
| rep | back to summary |
|---|---|
| private KrbAsRep rep | |
| req | back to summary |
|---|---|
| private KrbAsReq req | |
| rtime | back to summary |
|---|---|
| private KerberosTime rtime | |
| sname | back to summary |
|---|---|
| private PrincipalName sname | |
| state | back to summary |
|---|---|
| private KrbAsReqBuilder. | |
| till | back to summary |
|---|---|
| private KerberosTime till | |
| KrbAsReqBuilder | back to summary |
|---|---|
| public KrbAsReqBuilder(PrincipalName cname, KeyTab ktab) throws KrbException Creates a builder to be used by
| |
| KrbAsReqBuilder | back to summary |
|---|---|
| public KrbAsReqBuilder(PrincipalName cname, char[] pass) throws KrbException Creates a builder to be used by
| |
| action | back to summary |
|---|---|
| public KrbAsReqBuilder action() throws KrbException, Asn1Exception, IOException Performs AS-REQ send and AS-REP receive. Maybe a state is needed here, to divide prepare process and getCreds. | |
| build | back to summary |
|---|---|
| private KrbAsReq build(EncryptionKey key, KrbAsReqBuilder. Build a KrbAsReq object from all info fed above. Normally this method will be called twice: initial AS-REQ and second with pakey
| |
| checkState | back to summary |
|---|---|
| private void checkState(KrbAsReqBuilder. Checks if the current state is the specified one.
| |
| destroy | back to summary |
|---|---|
| public void destroy() Destroys the object and clears keys and password info. | |
| getCCreds | back to summary |
|---|---|
| public Credentials getCCreds() Gets another type of Credentials after action | |
| getCreds | back to summary |
|---|---|
| public Credentials getCreds() Gets Credentials object after action | |
| getKeys | back to summary |
|---|---|
| public EncryptionKey[] getKeys(boolean isInitiator) throws KrbException Retrieves an array of secret keys for the client. This is used when the client supplies password but need keys to act as an acceptor. For an initiator, it must be called after AS-REQ is performed (state is OK). For an acceptor, it can be called when this KrbAsReqBuilder object is constructed (state is INIT).
| |
| init | back to summary |
|---|---|
| private void init(PrincipalName cname) throws KrbException | |
| resolve | back to summary |
|---|---|
| private KrbAsReqBuilder resolve() throws KrbException, Asn1Exception, IOException Parses AS-REP, decrypts enc-part, retrieves ticket and session key | |
| send | back to summary |
|---|---|
| private KrbAsReqBuilder send() throws KrbException, IOException Communication until AS-REP or non preauth-related KRB-ERROR received | |
| setAddresses | back to summary |
|---|---|
| public void setAddresses(HostAddresses addresses) Adds or clears addresses. KrbAsReq might add some if empty field not allowed | |
| setOptions | back to summary |
|---|---|
| public void setOptions(KDCOptions options) Sets or clears options. If cleared, default options will be used at creation time. | |
| setRTime | back to summary |
|---|---|
| public void setRTime(KerberosTime rtime) | |
| setTarget | back to summary |
|---|---|
| public void setTarget(PrincipalName sname) Sets or clears target. If cleared, KrbAsReq might choose krbtgt for cname realm | |
| setTill | back to summary |
|---|---|
| public void setTill(KerberosTime till) | |
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private int | |
| private boolean | |
| private boolean | |
| private boolean | |
| private KrbAsReqBuilder | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv static void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| private void |
| canonicalizeConfig | back to summary |
|---|---|
| private static boolean canonicalizeConfig | |
| count | back to summary |
|---|---|
| private int count | |
| enabled | back to summary |
|---|---|
| private boolean enabled | |
| isEnterpriseCname | back to summary |
|---|---|
| private boolean isEnterpriseCname | |
| refreshComm | back to summary |
|---|---|
| private boolean refreshComm | |
| reqBuilder | back to summary |
|---|---|
| private KrbAsReqBuilder reqBuilder | |
| sendCanonicalize | back to summary |
|---|---|
| private boolean sendCanonicalize | |
| ReferralsState | back to summary |
|---|---|
| pack-priv ReferralsState(KrbAsReqBuilder reqBuilder) throws KrbException | |
| handleError | back to summary |
|---|---|
| pack-priv boolean handleError(KrbException ke) throws RealmException | |
| initStatic | back to summary |
|---|---|
| pack-priv static void initStatic() | |
| isEnabled | back to summary |
|---|---|
| pack-priv boolean isEnabled() | |
| refreshComm | back to summary |
|---|---|
| pack-priv boolean refreshComm() | |
| sendCanonicalize | back to summary |
|---|---|
| pack-priv boolean sendCanonicalize() | |
| updateStatus | back to summary |
|---|---|
| private void updateStatus() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final KrbAsReqBuilder. | |
| public static final KrbAsReqBuilder. | |
| public static final KrbAsReqBuilder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static KrbAsReqBuilder. | |
| public static KrbAsReqBuilder. |
| DESTROYED | back to summary |
|---|---|
| public static final KrbAsReqBuilder. | |
| INIT | back to summary |
|---|---|
| public static final KrbAsReqBuilder. | |
| REQ_OK | back to summary |
|---|---|
| public static final KrbAsReqBuilder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static KrbAsReqBuilder. | |
| values | back to summary |
|---|---|
| public static KrbAsReqBuilder. | |