Skip to content

Commit

Permalink
remove ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelamo committed Dec 13, 2023
1 parent 385e36c commit bea22d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public interface ReactiveAuthenticationProvider<T> extends Ordered {
* @param authenticationRequest The credentials to authenticate
* @return A publisher that emits 0 or 1 responses
*/
@NonNull
@SingleResult
Publisher<AuthenticationResponse> authenticate(@Nullable T httpRequest,
@NonNull AuthenticationRequest<?, ?> authenticationRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import io.micronaut.security.authentication.AuthenticationResponse
import io.micronaut.security.authentication.provider.AuthenticationProvider
import jakarta.inject.Singleton

@Requires(property = "spec.name", value = "BlockingBasicAuthSpec")
@Requires(property = "spec.name", value = "docsbasicauth")
@Singleton
class AuthenticationProviderUserPassword<T> implements AuthenticationProvider<T> {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class BasicAuthSpec extends Specification implements YamlAsciidocTagCleaner {
@AutoCleanup
HttpClient client = embeddedServer.applicationContext.createBean(HttpClient, embeddedServer.getURL())

@Ignore
void "test /beans is secured but accesible if you supply valid credentials with Basic Auth"() {
when:
String token = 'dXNlcjpwYXNzd29yZA==' // user:passsword Base64
Expand Down

0 comments on commit bea22d0

Please sign in to comment.