All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.peterphi.std.guice.apploader.GuiceConstants Maven / Gradle / Ivy

There is a newer version: 10.1.5
Show newest version
package com.peterphi.std.guice.apploader;

import com.peterphi.std.annotation.Doc;

public class GuiceConstants
{
	@Doc("Use default values for http call authentication")
	public static final String JAXRS_CLIENT_AUTH_DEFAULT = "default";
	@Doc("Use pre-emptive basic authentication on http calls")
	public static final String JAXRS_CLIENT_AUTH_PREEMPT = "preemptive-basic";

	@Doc("CurrentUser retrieved from HttpServletRequest (delegating authentication to servlet container)")
	public static final String JAXRS_SERVER_WEBAUTH_SERVLET_PROVIDER = "servlet";

	@Doc("CurrentUser retrieved from JWT in HttpServletRequest")
	public static final String JAXRS_SERVER_WEBAUTH_JWT_PROVIDER = "jwt";

	@Doc("Cookie name to use for JWT")
	public static final String JAXRS_SERVER_WEBAUTH_JWT_COOKIE_NAME = "X-JWT";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy