[jira] [Commented] (DIRKRB-759) Multithreading issue in 2.0.2 version during generation of credential cache

2022-10-20 Thread Colm O hEigeartaigh (Jira)


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

Colm O hEigeartaigh commented on DIRKRB-759:


Can you attach the code sample please?

> 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



[jira] [Commented] (DIRKRB-759) Multithreading issue in 2.0.2 version during generation of credential cache

2022-10-20 Thread Vimal (Jira)


[ 
https://issues.apache.org/jira/browse/DIRKRB-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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



[jira] [Commented] (DIRKRB-759) Multithreading issue in 2.0.2 version during generation of credential cache

2022-10-20 Thread Colm O hEigeartaigh (Jira)


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

Colm O hEigeartaigh commented on DIRKRB-759:


Yes but how are you using the Kerby API exactly? What are you calling to 
reproduce the scenario?

> 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



[jira] [Commented] (DIRKRB-759) Multithreading issue in 2.0.2 version during generation of credential cache

2022-10-20 Thread Vimal (Jira)


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

Vimal commented on DIRKRB-759:
--

what ever the code that is coming as part of 2.0.2 version from maven, we are 
using the same code.

let me know if you are looking for any specific details

> 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



[jira] [Commented] (DIRKRB-759) Multithreading issue in 2.0.2 version during generation of credential cache

2022-10-20 Thread Colm O hEigeartaigh (Jira)


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

Colm O hEigeartaigh commented on DIRKRB-759:


Can you share the Kerby client code that you are using?

> 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