public class JCRRepositoryAuthenticator extends Object implements Authenticator
Authenticatorimplementation which will try to log in the
Repositoryand obtain a Session. If this fails it will handle the user/pass as invalid. If it success it will logout from the session again and handle the user/pass as valid. This implementation should be used if you want to handle the IMAP Users transparent to the JCR Users. The use of the implementation only makes real sense in conjunction with the direct
MailboxSessionJCRRepositoryimplementation (not a subclass).
|Constructor and Description|
public JCRRepositoryAuthenticator(MailboxSessionJCRRepository repository)
public boolean isAuthentic(String userid, CharSequence passwd)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.