jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3164) Add minimal maintenance API to TokenBasedAuthentication
Date Thu, 01 Dec 2011 07:59:39 GMT
Add minimal maintenance API to TokenBasedAuthentication
-------------------------------------------------------

                 Key: JCR-3164
                 URL: https://issues.apache.org/jira/browse/JCR-3164
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
    Affects Versions: 2.3.4
            Reporter: Felix Meschberger


Currently the TokenBasedAuthentication class creates token nodes on demand and will only remove
a token's node if the token is used after it has expired. To be able to do some token maintenance
in down stream code (for example in a Sling Authentication Handler), some maintenance API
would be helpful:

  String createToken(String username, long initialExpiry, Session session) throws RepositoryException;
  void removeToken(String token, Session session) throws RepositoryException;

Will attach a proposed patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message