mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-19 05:56:13 +00:00
24 lines
639 B
Java
24 lines
639 B
Java
package auth.sso.oidc.custom;
|
|
|
|
import com.nimbusds.oauth2.sdk.auth.ClientAuthentication;
|
|
import com.nimbusds.oauth2.sdk.auth.ClientAuthenticationMethod;
|
|
import com.nimbusds.oauth2.sdk.http.HTTPRequest;
|
|
import com.nimbusds.oauth2.sdk.id.ClientID;
|
|
|
|
|
|
public class EmptyAuthentication extends ClientAuthentication {
|
|
/**
|
|
* Creates a new "None" client authentication.
|
|
*
|
|
* @param clientID The client identifier. Must not be {@code null}.
|
|
*/
|
|
protected EmptyAuthentication(ClientID clientID) {
|
|
super(ClientAuthenticationMethod.NONE, clientID);
|
|
}
|
|
|
|
@Override
|
|
public void applyTo(HTTPRequest httpRequest) {
|
|
return;
|
|
}
|
|
}
|