directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Yaning (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-302) Implementing getIdentities() for MemoryIdentityBackend
Date Thu, 18 Jun 2015 05:21:00 GMT

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

Xu Yaning commented on DIRKRB-302:
----------------------------------

jiajia is right. In {{MemoryIdentityBackend}}, {{getIdentities(int start, int limit)}} returns
a {{List<String>}} without relation to {{(int start, int limit)}}, is that okay? Or
should it be 
{code} 
    public List<String> getIdentities(int start, int limit) {
        return getIdentities().subList(start, limit);
    }

    public List<String> getIdentities() {
        return new ArrayList<>(getCache().keySet());
    }{code}

> Implementing getIdentities() for  MemoryIdentityBackend
> -------------------------------------------------------
>
>                 Key: DIRKRB-302
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-302
>             Project: Directory Kerberos
>          Issue Type: New Feature
>            Reporter: Xu Yaning
>            Assignee: Xu Yaning
>
> Implementing {{getIdentities()}} for {{ZookeeperIdentityBackend}} & {{MemoryIdentityBackend}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message