tech.greenfield.vertx.irked.auth.NegotiateAuthorizationToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of irked-vertx Show documentation
Show all versions of irked-vertx Show documentation
Opinionated framework for vertx-web route configuration and dispatch
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);
}
}