forked from jenkinsci/acceptance-test-harness
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a PageArea for the Describable part
- Loading branch information
1 parent
ce6c12e
commit 1d8a510
Showing
3 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
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,25 @@ | ||
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