Class CustomScheme
- java.lang.Object
-
- com.boomi.common.rest.authentication.SimpleAuthorizationScheme
-
- com.boomi.common.rest.authentication.CustomScheme
-
- All Implemented Interfaces:
Serializable
,AuthScheme
,ContextAwareAuthScheme
public class CustomScheme extends SimpleAuthorizationScheme
Custom scheme that will fetch the password, which contains the full Authorization header value. Both the scheme and authorization credential will need to be included in this scheme.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomScheme(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Header
authenticate(Credentials credentials, HttpRequest request, HttpContext context)
-
Methods inherited from class com.boomi.common.rest.authentication.SimpleAuthorizationScheme
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased, processChallenge
-
-
-
-
Constructor Detail
-
CustomScheme
public CustomScheme(String name)
-
-
Method Detail
-
authenticate
public Header authenticate(Credentials credentials, HttpRequest request, HttpContext context)
- Specified by:
authenticate
in interfaceContextAwareAuthScheme
- Overrides:
authenticate
in classSimpleAuthorizationScheme
-
-