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!

sun.security.krb5.internal.ktab.KeyTab

3915352Mar 15 2019 — edited Mar 15 2019

Hi ,

I am using "sun.security.krb5.internal.ktab.KeyTab" for generating the Keytab file using addEntry() but this package is deprecated in java 9 .

Do you any any new package for generating the keytab file because  this package " javax.security.auth.kerberos.KeyTab" has not.

Regards,

Prayank jain

***Moderator action (Timo): removed call out to members who have not participated in this thread already!***

Comments

odie_63
Answer

Hi,

You can do that by passing the head element to the second XMLSequence. That way you maintain the correlation between the parent and its children :

select extractvalue(value(head), '/Servicio/Nombre') as srv_nombre

     , extractvalue(value(head), '/Servicio/Descripcion') as srv_desc

     , extractvalue(value(head), '/Servicio/Activo') as srv_activo

     , extractvalue(value(head), '/Servicio/Version') as srv_version

     , extractvalue(value(detail), '/Metodo/Nombre') as met_nombre

     , extractvalue(value(detail), '/Metodo/Activo') as met_activo

     , extractvalue(value(detail), '/Metodo/Version') as met_version

from arwt_ws_return x

   , table(xmlsequence(extract(x.x_xmldoc, '/arrayOfServicio/Servicio'))) head

   , table(xmlsequence(extract(value(head), '/Servicio/MetodosEntity/Metodo'))) detail

;

Please also note that :

- you don't need a descendant axis (//) if you know the exact path

- you don't need to go down to the text() node if you're using extractvalue

Hope that helps.

Marked as Answer by 1019748 · Sep 27 2020
1019748

Thank you so much Odie.

That really helps!

1 - 2

Post Details

Added on Mar 15 2019
0 comments
568 views