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

Jiajia Li updated DIRKRB-680:
-----------------------------
    Attachment: DIRKRB-680-001.patch

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

Reply via email to