Skip to content

Commit

Permalink
Don't loose the credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed May 23, 2016
1 parent 28ec9df commit 26c57aa
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@
import java.util.Set;
import jenkins.model.Jenkins;
import jenkins.model.TransientActionFactory;
import net.sf.json.JSONObject;
import org.acegisecurity.Authentication;
import org.acegisecurity.context.SecurityContext;
import org.acegisecurity.context.SecurityContextHolder;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.NoExternalUse;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.StaplerRequest;

/**
* A store of credentials that can be used as a Stapler opbject.
Expand Down Expand Up @@ -446,6 +448,14 @@ private synchronized boolean updateCredentials(@NonNull Domain domain, @NonNull
return false;
}

/**
* {@inheritDoc}
*/
@Override
public AbstractFolderProperty<?> reconfigure(StaplerRequest req, JSONObject form) throws FormException {
return this;
}

/**
* Our {@link CredentialsStoreAction}.
* @since 5.11
Expand Down

0 comments on commit 26c57aa

Please sign in to comment.