[ 
https://issues.apache.org/jira/browse/DIRKRB-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17621245#comment-17621245
 ] 

Vimal commented on DIRKRB-759:
------------------------------

First initializing Krb5Config and then passing krb5Config object to initialize 
KrbClient and then calling init method in KrbClient.

then calling a method called "requestTGT" in KrbClient.java class by passing 
the principal name and the keytab file path of the principal.

 

when calling the API which calls the above method behind the scenes with more 
than one principal name then keytab object of one principal is being shared to 
another request when Encryption key is being fetched from the keytab in 
AsRequestWithKeytab class under getClientKey() method

 

 

> Multithreading issue in 2.0.2 version during generation of credential cache
> ---------------------------------------------------------------------------
>
>                 Key: DIRKRB-759
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-759
>             Project: Directory Kerberos
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.0.2
>         Environment: prod
>            Reporter: Vimal
>            Priority: Major
>
> we are trying to use 2.0.2 version.
> trying to generate credential cache.
> under heavy load requestoptions in KdcRequest class is shared between two 
> threads and one thread is trying to look for the client key in another 
> threads keytab.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to