Package de.quantummaid.httpmaid.security
Class SecurityConfigurators
- java.lang.Object
-
- de.quantummaid.httpmaid.security.SecurityConfigurators
-
public final class SecurityConfigurators extends Object
-
-
Method Summary
-
-
-
Method Detail
-
toDoBasicAuthWith
public static BasicAuthConfigurator toDoBasicAuthWith(BasicAuthAuthenticator authenticator)
-
toAuthenticateRequestsUsing
public static AuthenticatorConfigurator toAuthenticateRequestsUsing(Authenticator<HttpRequest> authenticator)
-
toAuthenticateUsingOAuth2BearerToken
public static AuthenticatorConfigurator toAuthenticateUsingOAuth2BearerToken(Authenticator<String> authenticator)
-
toAuthenticateUsingCookie
public static AuthenticatorConfigurator toAuthenticateUsingCookie(String cookieName, Authenticator<String> authenticator)
-
toAuthenticateUsingHeader
public static AuthenticatorConfigurator toAuthenticateUsingHeader(String headerName, Authenticator<String> authenticator)
-
toAuthenticateUsingQueryParameter
public static AuthenticatorConfigurator toAuthenticateUsingQueryParameter(String parameterName, Authenticator<String> authenticator)
-
toAuthenticateUsingPathParameter
public static AuthenticatorConfigurator toAuthenticateUsingPathParameter(String parameterName, Authenticator<String> authenticator)
-
toAuthorizeRequestsUsing
public static AuthorizerConfigurator toAuthorizeRequestsUsing(HttpAuthorizer authorizer)
-
toAuthorizeAllAuthenticatedRequests
public static AuthorizerConfigurator toAuthorizeAllAuthenticatedRequests()
-
toFilterRequestsThat
public static FilterConfigurator toFilterRequestsThat(Filter filter)
-
-