Annotation Interface EnableMockOAuth2Server
@Documented
@Inherited
@Retention(RUNTIME)
@Target(TYPE)
@Import({MockOAuth2ServerAutoConfiguration.class,MockLoginController.class})
@PropertyMapping("mock-oauth2-server")
public @interface EnableMockOAuth2Server
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
Specify port for server to run on (only works in test scope), provide via env property mock-ouath2-server.port outside of test scope
-
Element Details
-
port
int portSpecify port for server to run on (only works in test scope), provide via env property mock-ouath2-server.port outside of test scope- Default:
- 0
-