mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
24.11.2015 8d21db36015f8560d9cd2bcee9817f2c0a07a386
opendj-server-legacy/src/test/java/org/opends/server/api/AuthenticationPolicyTestCase.java
@@ -118,9 +118,7 @@
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public DN getDN()
    {
      return policyDN;
@@ -128,18 +126,14 @@
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public AuthenticationPolicyState createAuthenticationPolicyState(
        Entry userEntry, long time) throws DirectoryException
    {
      return new AuthenticationPolicyState(userEntry)
      {
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public boolean passwordMatches(ByteString password)
            throws DirectoryException
        {
@@ -149,9 +143,7 @@
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public boolean isDisabled()
        {
          return MockPolicy.this.isDisabled;
@@ -159,9 +151,7 @@
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public void finalizeStateAfterBind() throws DirectoryException
        {
          isStateFinalized = true;
@@ -169,9 +159,7 @@
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public AuthenticationPolicy getAuthenticationPolicy()
        {
          return MockPolicy.this;
@@ -181,9 +169,7 @@
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public void finalizeAuthenticationPolicy()
    {
      isPolicyFinalized = true;