Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java 6u121 and kerberos

4039556Jul 24 2019

Dear sir/mdm

we encountered this issue after update to 6u121. The issue does not happen for 6u31

2019-07-19 16:00:29,405 DEBUG [http-8080-2] (DirectoryUtils.java:231) - javax.naming.AuthenticationException: GSSAPI [Root exception is javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))]]

Any help is much appreciated.

Many thanks!

Comments

Answer

Yes

Development Tutorial: Creating an Image Gallery

Note:

You can modify the default OAuth access token duration (or lifetime) for all the generated access tokens. To achieve this, add the security.oauth.tokenLifetime entry to the defaults.xml configuration file in the following way, with the OAuth access token duration specified in seconds:

<entry key="security.oauth.tokenLifetime”>600</entry>

Marked as Answer by Christoph · Sep 27 2020
Christoph

Thanks!

no problem, and sorry for the late response!

Ed S

Jeff,

I was having a similar problem so I am jumping in on this thread -I tried this and it is still expiring.  I just changed this to <entry key="security.oauth.tokenLifetime”>315360000</entry>  so as to last 10 years and it still appears to be expiring. When I created the new token and allowed access I get &expires_in=315360000&state= in the token confirmation. Any idea as to what the problem may be on my end?

Ed

Ed S

Disregard, this is working.

1 - 5

Post Details

Added on Jul 24 2019
0 comments
232 views