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/25 06:05:01 UTC

[jira] [Updated] (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 updated DIRKRB-680:
-----------------------------
    Description: 
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

> 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
>
> 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)