directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-652) Support dynamic load token provider
Date Tue, 05 Sep 2017 09:05:00 GMT

    [ https://issues.apache.org/jira/browse/DIRKRB-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153317#comment-16153317
] 

Colm O hEigeartaigh commented on DIRKRB-652:
--------------------------------------------

Looks fine to me, just a trivial change - you could change

> TokenProvider tokenProvider = (TokenProvider) allProvider.get(name).newInstance();
> return tokenProvider;

to

return (TokenProvider) allProvider.get(name).newInstance();

> Support dynamic load token provider
> -----------------------------------
>
>                 Key: DIRKRB-652
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-652
>             Project: Directory Kerberos
>          Issue Type: Bug
>            Reporter: Jiajia Li
>            Assignee: Jiajia Li
>             Fix For: 1.1.0
>
>         Attachments: DIRKRB-652-v1.patch
>
>
> As discussed in DIRKRB-651, now we need to set up a token provider before we use it,
instead we can do it via Service Loader.



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

Mime
View raw message