You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jiajia Li (JIRA)" <ji...@apache.org> on 2017/12/26 02:40:00 UTC

[jira] [Resolved] (DIRKRB-680) Add new authentication mechanism API

     [ https://issues.apache.org/jira/browse/DIRKRB-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiajia Li resolved DIRKRB-680.
------------------------------
    Resolution: Fixed

commit bcf3ba10ffc3bb4c7639dc2ef8017545c40143f3
Author: plusplusjiajia <ji...@intel.com>
Date:   Tue Dec 26 10:33:59 2017 +0800

    DIRKRB-680 Add new authentication mechanism API

> Add new authentication mechanism API
> ------------------------------------
>
>                 Key: DIRKRB-680
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-680
>             Project: Directory Kerberos
>          Issue Type: Sub-task
>            Reporter: Jiajia Li
>            Assignee: Jiajia Li
>         Attachments: DIRKRB-680-001.patch
>
>
> HAS client plugin HasClientPlugin:
> // Get the login module type ID, used to distinguish this module from others. 
> // Should correspond to the server side module.
> String getLoginType()
> // Perform all the client side login logics, the results wrapped in an AuthToken, 
> // will be validated by HAS server.
> AuthToken login(Conf loginConf) throws HasLoginException
> HAS server plugin HasServerPlugin:
> // Get the login module type ID, used to distinguish this module from others. 
> // Should correspond to the client side module.
> String getLoginType()
> // Perform all the server side authentication logics, the results wrapped in an AuthToken, 
> // will be used to exchange a Kerberos ticket.
> AuthToken authenticate(AuthToken userToken) throws HasAuthenException



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)