Skip to content

Commit

Permalink
Add password field
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavafenkin committed Mar 27, 2024
1 parent 076c154 commit 67250c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ public class NotifyByHttpSecurityNotifierStrategyImpl extends SecurityNotifierSt
private static final Logger LOGGER = Logger.getLogger(NotifyByHttpSecurityNotifierStrategyImpl.class.getName());

private String url;
private String password;

@DataBoundConstructor
public NotifyByHttpSecurityNotifierStrategyImpl(String url) {
public NotifyByHttpSecurityNotifierStrategyImpl(String url, String password) {
this.url = url;
this.password = password;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<f:entry title="${%URL to send notification to}">
<f:textbox field="url"/>
</f:entry>
<f:entry title="${%Password}">
<f:textbox field="password"/>
</f:entry>
</f:block>
</f:section>
</j:jelly>
</j:jelly>

0 comments on commit 67250c9

Please sign in to comment.