-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt the OicAuthPluginTest to the changes in the describables (#1724)
* Adapt the OicAuthPluginTest to the changes in the describables * Use a PageArea for the Describable part * Apply spotless
- Loading branch information
1 parent
ef57fb3
commit a23ad46
Showing
3 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/main/java/org/jenkinsci/test/acceptance/po/OicAuthConfigurationMode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.jenkinsci.test.acceptance.po; | ||
|
||
/** | ||
* Class representing the entry controls for the configuration mode when using the oic-auth plugin | ||
*/ | ||
public abstract class OicAuthConfigurationMode extends PageAreaImpl { | ||
|
||
protected OicAuthConfigurationMode(OicAuthSecurityRealm realm) { | ||
super(realm, "serverConfiguration"); | ||
} | ||
|
||
/** | ||
* Class representing the entry controls for well-known endpoint when using the oic-auth plugin | ||
*/ | ||
@Describable("Discovery via well-known endpoint") | ||
public static class WellKnownEndpoint extends OicAuthConfigurationMode { | ||
|
||
public final Control wellKnownEndpoint = control("wellKnownOpenIDConfigurationUrl"); | ||
|
||
public WellKnownEndpoint(OicAuthSecurityRealm realm) { | ||
super(realm); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters