07 Mar, 2014

2 commits


06 Mar, 2014

7 commits

  • Code review: Matthew Swift
    
    MatchingRuleImpl.java, MatchingRule.java:
    Renamed getIndexer() to getIndexers() and made it return a Collection.
    
    *MatchingRuleImpl.java:
    Renamed getIndexer() to getIndexers() and made it return a Collection.
    Renamed the parameter of Assertion.matches() to normalizedAttributeValue.
    
    clirr-ignored-api-changes.xml:
    Ignored the method getIndexers() newly added to Assertion's interface.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10495 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    Added the index query factory support code.
    This copies little piece of code from OpenDJ server code base, namely JE backend and makes it more abstract so it can be reused.
    
    Ensured file history is kept.
    
    
    
    Assertion.java:
    Added createIndexQuery(IndexQueryFactory).
    
    IndexQueryFactory.java, Indexer.java, IndexingOptions.java: ADDED
    
    
    MatchingRuleImpl.java:
    Added getIndexer() and isIndexingSupported().
    
    MatchingRule.java:
    Added getIndexer().
    
    AbstractMatchingRuleImpl.java:
    Added inner class DefaultIndexer.
    Implemented createIndexQuery() for inner classes DefaultAssertion, and anonymous inner class UNDEFINED_ASSERTION.
    Implemented isIndexingSupported().
    
    AbstractApproximateMatchingRuleImpl.java, AbstractEqualityMatchingRuleImpl.java:
    Implemented getIndexer().
    
    AbstractOrderingMatchingRuleImpl.java:
    Implemented getIndexer().
    Implemented createIndexQuery() for anonymous inner classes.
    
    AbstractSubstringMatchingRuleImpl.java:
    Implemented getIndexer().
    Implemented createIndexQuery() for inner class DefaultSubstringAssertion.
    Added SubstringIndexer inner class.
    Added javadocs.
    
    
    CertificateExactMatchingRuleImpl.java:
    Now extends AbstractEqualityMatchingRuleImpl.
    
    EqualLengthApproximateMatchingRuleImpl.java:
    Implemented createIndexQuery() for anonymous inner class.
    
    KeywordEqualityMatchingRuleImpl.java
    Implemented createIndexQuery() for anonymous inner class.
    Implemented getIndexer().
    
    
    clirr-ignored-api-changes.xml:
    Ignored changes due to methods added to interfaces.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10494 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    Added the index query factory support code.
    This copies little piece of code from OpenDJ server code base, namely JE backend and makes it more abstract so it can be reused.
    
    Ensured file history is kept.
    
    
    
    Assertion.java:
    Added createIndexQuery(IndexQueryFactory).
    
    IndexQueryFactory.java, Indexer.java, IndexingOptions.java: ADDED
    
    
    MatchingRuleImpl.java:
    Added getIndexer() and isIndexingSupported().
    
    MatchingRule.java:
    Added getIndexer().
    
    AbstractMatchingRuleImpl.java:
    Added inner class DefaultIndexer.
    Implemented createIndexQuery() for inner classes DefaultAssertion, and anonymous inner class UNDEFINED_ASSERTION.
    Implemented isIndexingSupported().
    
    AbstractApproximateMatchingRuleImpl.java, AbstractEqualityMatchingRuleImpl.java:
    Implemented getIndexer().
    
    AbstractOrderingMatchingRuleImpl.java:
    Implemented getIndexer().
    Implemented createIndexQuery() for anonymous inner classes.
    
    AbstractSubstringMatchingRuleImpl.java:
    Implemented getIndexer().
    Implemented createIndexQuery() for inner class DefaultSubstringAssertion.
    Added SubstringIndexer inner class.
    Added javadocs.
    
    
    CertificateExactMatchingRuleImpl.java:
    Now extends AbstractEqualityMatchingRuleImpl.
    
    EqualLengthApproximateMatchingRuleImpl.java:
    Implemented createIndexQuery() for anonymous inner class.
    
    KeywordEqualityMatchingRuleImpl.java
    Implemented createIndexQuery() for anonymous inner class.
    Implemented getIndexer().
    
    
    clirr-ignored-api-changes.xml:
    Ignored changes due to methods added to interfaces.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10491 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    Added the index query factory support code.
    This copies little piece of code from OpenDJ server code base, namely JE backend and makes it more abstract so it can be reused.
    
    
    
    Assertion.java:
    Added createIndexQuery(IndexQueryFactory).
    
    IndexQueryFactory.java, Indexer.java, IndexingOptions.java: ADDED
    
    
    MatchingRuleImpl.java:
    Added getIndexer() and isIndexingSupported().
    
    MatchingRule.java:
    Added getIndexer().
    
    AbstractMatchingRuleImpl.java:
    Added inner class DefaultIndexer.
    Implemented createIndexQuery() for inner classes DefaultAssertion, and anonymous inner class UNDEFINED_ASSERTION.
    Implemented isIndexingSupported().
    
    AbstractApproximateMatchingRuleImpl.java, AbstractEqualityMatchingRuleImpl.java:
    Implemented getIndexer().
    
    AbstractOrderingMatchingRuleImpl.java:
    Implemented getIndexer().
    Implemented createIndexQuery() for anonymous inner classes.
    
    AbstractSubstringMatchingRuleImpl.java:
    Implemented getIndexer().
    Implemented createIndexQuery() for inner class DefaultSubstringAssertion.
    Added SubstringIndexer inner class.
    Added javadocs.
    	
    
    CertificateExactMatchingRuleImpl.java:
    Now extends AbstractEqualityMatchingRuleImpl.
    
    EqualLengthApproximateMatchingRuleImpl.java:
    Implemented createIndexQuery() for anonymous inner class.
    
    KeywordEqualityMatchingRuleImpl.java
    Implemented createIndexQuery() for anonymous inner class.
    Implemented getIndexer().
    
    
    clirr-ignored-api-changes.xml:
    Ignored changes due to methods added to interfaces.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10489 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • - Added static final readPassword() to ConsoleApplication.
    - Added messages.
    - Added to CliConstants GLOBAL_ADMIN_UID && DEFAULT_ADMINISTRATION_CONNECTOR_PORT
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10488 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • in "tests" jar to allow usage by other modules 
    
    * Handle property methods with booleans
    * Default to mockito behavior (default values) for non-property
     methods or property methods with no default value in configuration
    * Add more unit tests to ConfigurationMockTest class
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10487 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • … an LDAP Password Modify extended operation
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10486 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     

05 Mar, 2014

5 commits


04 Mar, 2014

2 commits


03 Mar, 2014

11 commits


02 Mar, 2014

1 commit


28 Feb, 2014

7 commits

  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10451 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Factorized duplicated code from org.forgerock.opendj.ldap.schema into SchemaUtils.java
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10449 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Preparation work for removing org.opends.server.api.MatchingRule.normalizeAssertionValue().
    Updated copyright for r10447.
    
    Assertion.java:
    In matches(), renamed attributeValue parameter to normalizedAttributeValue.
    
    MatchingRuleImpl.java:
    In getAssertion(), renamed value parameter to assertionValue.
    Fixed javadocs.
    
    AbstractApproximateMatchingRuleImpl.java, AbstractEqualityMatchingRuleImpl.java: ADDED
    Made the relevant approximate and equality matching rule classes subclass these new ones.
    
    AbstractMatchingRuleImpl.java:
    In getAssertion(), returned UNDEFINED_ASSERTION.
    Extracted method trimConsecutiveSpaces() here from several places in the code.
    
    WordEqualityMatchingRuleImpl.java: REMOVED
    Implementation was the same as KeywordEqualityMatchingRuleImpl so reused that class instead + updated CoreSchemaImpl.
    
    KeywordEqualityMatchingRuleImpl.java:
    Extracted method isAcceptable().
    Removed useless calls to String.intern() on String literals.
    
    IntegerFirstComponentEqualityMatchingRuleImpl.java:
    In getAssertion(), used DefaultEqualityAssertion instead of custom built Assertion.
    
    EnumSyntaxTestCase.java:
    Made the code more readable.
    
    *.java:
    Simplified code by using ConditionResult.valueOf().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10448 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Preparation work for removing org.opends.server.api.MatchingRule.normalizeAssertionValue().
    
    
    Assertion.java:
    In matches(), renamed attributeValue parameter to normalizedAttributeValue.
    
    MatchingRuleImpl.java:
    In getAssertion(), renamed value parameter to assertionValue.
    Fixed javadocs.
    
    AbstractApproximateMatchingRuleImpl.java, AbstractEqualityMatchingRuleImpl.java: ADDED
    Made the relevant approximate and equality matching rule classes subclass these new ones.
    
    AbstractMatchingRuleImpl.java:
    In getAssertion(), returned UNDEFINED_ASSERTION.
    Extracted method trimConsecutiveSpaces() here from several places in the code.
    
    WordEqualityMatchingRuleImpl.java: REMOVED
    Implementation was the same as KeywordEqualityMatchingRuleImpl so reused that class instead + updated CoreSchemaImpl.
    
    KeywordEqualityMatchingRuleImpl.java:
    Extracted method isAcceptable().
    Removed useless calls to String.intern() on String literals.
    
    IntegerFirstComponentEqualityMatchingRuleImpl.java:
    In getAssertion(), used DefaultEqualityAssertion instead of custom built Assertion.
    
    EnumSyntaxTestCase.java:
    Made the code more readable.
    
    *.java:
    Simplified code by using ConditionResult.valueOf().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10447 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • …erver() to match @BeforeClass
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10446 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • add '/' to make the path absolute, to ensure manifest is found
     when using opendj-config as a jar dependency
     
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10445 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • Fix build break: use older JDK6 socket option APIs.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10444 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

27 Feb, 2014

4 commits


26 Feb, 2014

1 commit