alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (krb5-capaths.conf)

This example Java source code file (krb5-capaths.conf) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

bad, full, jdk, shortest, the

The krb5-capaths.conf Java example source code

[capaths]

# http://web.mit.edu/kerberos/krb5-1.5/krb5-1.5.4/doc/krb5-admin/capaths.html

ANL.GOV = {
    TEST.ANL.GOV = .
    PNL.GOV = ES.NET
    NERSC.GOV = ES.NET
    ES.NET = .
}
TEST.ANL.GOV = {
    ANL.GOV = .
}
PNL.GOV = {
    ANL.GOV = ES.NET
}
#NERSC.GOV = {
#    ANL.GOV = ES.NET
#}
ES.NET = {
    ANL.GOV = .
}
NERSC.GOV = {
    ANL.GOV = ES.NET
    TEST.ANL.GOV = ES.NET
    TEST.ANL.GOV = ANL.GOV
    PNL.GOV = ES.NET
    ES.NET = .
}

# The original JDK example

TIVOLI.COM = {
    IBM.COM = IBM_LDAPCENTRAL.COM MOONLITE.ORG
    IBM_LDAPCENTRAL.COM = LDAPCENTRAL.NET
    LDAPCENTRAL.NET = .
}

# https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Smart_Cards/Setting_Up_Cross_Realm_Authentication.html

A.EXAMPLE.COM = {
    B.EXAMPLE.COM = .
    C.EXAMPLE.COM = B.EXAMPLE.COM
    D.EXAMPLE.COM = B.EXAMPLE.COM
    D.EXAMPLE.COM = C.EXAMPLE.COM
}

# Full path

A1.COM = {
    A2.COM = .
    A3.COM = A2.COM
    A4.COM = A2.COM
    A4.COM = A3.COM
}

# Shortest path

B1.COM = {
    B2.COM = .
    B3.COM = B2.COM
    B4.COM = B3.COM
}

# If no sRealm key, fallback to hierarchy

C1.COM = {
    C3.COM = C2.COM
}

# cRealm is "."

D1.COM = {
    D2.COM=D1.COM
}

# Bad cases

E1.COM = {
    E2.COM = E2.COM
    E3.COM = E4.COM
    E3.COM = .
}

G1.COM = {
    G2.COM = G3.COM
    G3.COM = G2.COM
}

I1.COM = {
    I2.COM = I3.COM
    I3.COM = I2.COM
    I4.COM = I5.COM
}

# 7019384

A9.PRAGUE.XXX.CZ = {
    PRAGUE.XXX.CZ = .
    ROOT.XXX.CZ = PRAGUE.XXX.CZ
    SERVIS.XXX.CZ = ROOT.XXX.CZ
}

Other Java examples (source code examples)

Here is a short list of links related to this Java krb5-capaths.conf source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.