/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( Dn baseDn, String filter, SearchScope scope, char[] password ) throws PasswordException { return authenticate( newSearchRequest( baseDn, filter, scope ), password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( Dn baseDn, String filter, SearchScope scope, char[] password ) throws PasswordException { return authenticate( newSearchRequest( baseDn, filter, scope ), password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( String baseDn, String filter, SearchScope scope, char[] password ) throws PasswordException { return authenticate( newSearchRequest( baseDn, filter, scope ), password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( String baseDn, String filter, SearchScope scope, char[] password ) throws PasswordException { return authenticate( newSearchRequest( baseDn, filter, scope ), password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( Dn baseDn, String filter, SearchScope scope, char[] password ) throws PasswordException { return authenticate( newSearchRequest( baseDn, filter, scope ), password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( String baseDn, String filter, SearchScope scope, char[] password ) throws PasswordException { return authenticate( newSearchRequest( baseDn, filter, scope ), password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( SearchRequest searchRequest, char[] password ) throws PasswordException { Dn userDn = searchFirst( searchRequest, DN_ENTRY_MAPPER ); if ( userDn == null ) { throw new PasswordException().setResultCode( ResultCodeEnum.INVALID_CREDENTIALS ); } return authenticate( userDn, password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( SearchRequest searchRequest, char[] password ) throws PasswordException { Dn userDn = searchFirst( searchRequest, DN_ENTRY_MAPPER ); if ( userDn == null ) { throw new PasswordException().setResultCode( ResultCodeEnum.INVALID_CREDENTIALS ); } return authenticate( userDn, password ); }
/** * {@inheritDoc} */ @Override public PasswordWarning authenticate( SearchRequest searchRequest, char[] password ) throws PasswordException { Dn userDn = searchFirst( searchRequest, DN_ENTRY_MAPPER ); if ( userDn == null ) { throw new PasswordException().setResultCode( ResultCodeEnum.INVALID_CREDENTIALS ); } return authenticate( userDn, password ); }