Package de.narimo.commons.ws.http.auth
Interface HTTPAuthorizationFactoryInterface
-
- All Superinterfaces:
HTTPBasicAuthorizationFactoryInterface
public interface HTTPAuthorizationFactoryInterface extends HTTPBasicAuthorizationFactoryInterface
Common authorization object interface which can be used to hold authorization details. Can be used for different types of authentication such as Basic Authentication or Cookie Authentication.- Author:
- Ulrich Mann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAccessToken()AuthenticationTypegetAuthenticationType()StringgetAuthorizationHeader()voidsetAccessToken(String accessToken)voidsetAuthenticationType(AuthenticationType authenticationType)voidsetAuthorizationHeader(String authorizationHeader)-
Methods inherited from interface de.narimo.commons.ws.http.auth.HTTPBasicAuthorizationFactoryInterface
getCredentials, getSessionCookies, setCredentials, setSessionCookies
-
-
-
-
Method Detail
-
getAuthorizationHeader
String getAuthorizationHeader()
-
setAuthorizationHeader
void setAuthorizationHeader(String authorizationHeader)
-
getAuthenticationType
AuthenticationType getAuthenticationType()
-
setAuthenticationType
void setAuthenticationType(AuthenticationType authenticationType)
-
getAccessToken
String getAccessToken()
-
setAccessToken
void setAccessToken(String accessToken)
-
-