[
https://issues.apache.org/jira/browse/DIRKRB-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frank Zeng updated DIRKRB-650:
------------------------------
Attachment: DIRKRB-650-v1.patch
Initial patch attatched.
below is the example:
{quote}capaths section of krb5.conf:
[capaths]
ATHENA.MIT.EDU = {
ANDREW.CMU.EDU = GNU.ORG
GNU.ORG = .
}
ANDREW.CMU.EDU = {
ATHENA.MIT.EDU = GNU.ORG
}
GNU.ORG = {
ATHENA.MIT.EDU = .
}
the parse result of ATHENA.MIT.EDU to ANDREW.CMU.EDU:
getCapath[0]=ATHENA.MIT.EDU
getCapath[1]=GNU.ORG
getCapath[2]=ANDREW.CMU.EDU{quote}
P.S. the unit test has also been added.
> Getting capaths section from krb5.conf
> --------------------------------------
>
> Key: DIRKRB-650
> URL: https://issues.apache.org/jira/browse/DIRKRB-650
> Project: Directory Kerberos
> Issue Type: Sub-task
> Reporter: Jiajia Li
> Assignee: Frank Zeng
> Attachments: DIRKRB-650-v1.patch
>
>
> [capaths] Contains the authentication paths used with direct
> (nonhierarchical) cross-realm authentication. Entries in this section are
> used by the client to determine the intermediate realms which may be used in
> cross-realm authentication. It is also used by the end-service when checking
> the transited field for trusted intermediate realms.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)