TAFJ-Kerberos Setup
TAFJ-Kerberos Setup
Revi si o
Dat e Ame n d e d Na m e De s c r i p t i o n
n
1 29 th June 2022 M.Kum a r Initial version
2 6 th April 2023 M.Kum a r R23 AMR Review
2
TAFJ Kerb e ros S e t u p
Copyri g h t
Pleas e includ e your na m e , comp a n y, addr e s s, and telep h o n e and fax num b e r s , and email add r e s s if
applica bl e. TAFJdev@t e m e n o s . c o m
4
TAFJ Kerb e ros S e t u p
Kerb e r o s Set u p on wind o w s
Crea t e a file called krb 5. c o n f in a direc to ry wher e we want to execu t e the kinit com m a n d for the first
time.
The krb5.co nf will look like below with nece s s a r y det ails of AD configu r a t io n.
[libdefa ul ts]
# default_r e al m = EXAMPLE.COM
default_r e al m = TEME NO SGRO U P .C O M
dns_looku p_r e a l m = true
ticket_lifetim e = 24h
rene w_lifetim e = 7d
forw a r d a b l e = true
rdns = true
pkinit_a nc h o r s = /etc/pki/tls/c e r t s/ c a- bundle.c r t
# default_cc a c h e_n a m e = KEYRING:pe r s is t e n t : % { ui d }
[logging]
default = FILE:/var/log/k r b 5lib s.log
kdc = FILE:/va r/log/k r b 5 k d c .lo g
admi n_se r v e r = FILE:/var/log/k a d m i n d .lo g
[realm s]
TEMEN O S GRO U P.CO M = {
kdc = TEMEN O SG ROU P.CO M: 8 8
admi n_se r v e r = TEMEN O S GRO U P.CO M
}
[dom ai n_r e a l m]
tem e n o s g r o u p . c o m = TEMEN O S GRO U P.CO M
.tem e n o s g r o u p . c o m = TEMEN O SGRO U P.CO M
Use kinit com m a n d to initiat e a kerb e r o s local cache on windows by gene r a t i n g krbcc 5 file
== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
== = = = = = = = = =
Use kList com m a n d to view the det ails of above cre a t e d ent ry
6
TAFJ Kerb e ros S e t u p
Clas s i c Entry poi n t of TAFJ
The classic entry point of TAFJ requi r e s few code chan g e s which are not incor po r a t e d to suppo r t
Kerbe r o s aut h e n t i c a ti o n.
For Application serve r, the dat a b a s e conne c tio n is man a g e d by the dat a sourc e definition and the
following conn e c ti o n par a m e t e r s nee d to be adde d part of dat a sourc e definition to make the JDBC driver
know that the mode of aut h e n t i c a t i o n is kerb e r o s and not the nor m al basic use r/ p a s s w o r d aut h e n t i c a t io n.
Exam pl e : below is the jboss data sour c e definition and simila r should be adde d to othe r suppo r t e d
applica tion serve r s and all dat a sourc e definitions (t24DS, t24Lockin gD S, t24RODS).
P.S: for addition al valida tion, the following below prope r t y can be adde d as JVM argu m e n t to see the
det ails for Kerbe r o s aut h e n t i c a t i o n.