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

tech.greenfield.vertx.irked.auth.NegotiateAuthorizationToken Maven / Gradle / Ivy

There is a newer version: 4.5.10
Show newest version
package tech.greenfield.vertx.irked.auth;

/**
 * Implementation of the standard RFC 4559 Negotiate authentication scheme token
 * 
 * This implementation does not decode the GSS API data and it is available as plain text
 * from the {@link AuthorizationToken#getToken()} method.
 * 
 * @author odeda
 */
public class NegotiateAuthorizationToken extends AuthorizationToken {

	public NegotiateAuthorizationToken() {}
	
	public NegotiateAuthorizationToken(String token) {
		update("Negotiate", token);
	}

	/* (non-Javadoc)
	 * @see tech.greenfield.vertx.irked.auth.AuthorizationToken#supports(java.lang.String)
	 */
	@Override
	protected boolean supports(String type) {
		return "Negotiate".equalsIgnoreCase(type);
	}
	

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy