public class JCRRepositoryAuthenticator extends Object implements Authenticator
Authenticator implementation which will try to log in the Repository and 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 MailboxSessionJCRRepository implementation (not a subclass).| Constructor and Description |
|---|
JCRRepositoryAuthenticator(MailboxSessionJCRRepository repository) |
public JCRRepositoryAuthenticator(MailboxSessionJCRRepository repository)
public boolean isAuthentic(String userid, CharSequence passwd)
AuthenticatorisAuthentic in interface Authenticatoruserid - not nullpasswd - not nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.