Uses of Class
ch.autumo.commons.CommonsException
-
Uses of CommonsException in ch.autumo.commons.utils.web
Modifier and TypeMethodDescriptionstatic AuthContext
AuthUtils.createBasicAuthContext
(org.apache.http.HttpHost authHost, String user, String password) Create a basic auth context.static AuthContext
AuthUtils.createDigestAuthContext
(org.apache.http.HttpHost authHost, String authUrl, String user, String password) Create a digest auth context.static AuthContext
AuthUtils.createOAuthContext
(org.apache.http.HttpHost authHost, String authUrl, String user, String password, String authMethod, String grantType, List<String[]> body) Create an OAuth auth context.static org.apache.http.HttpHost
AuthUtils.getAuthHost
(String protocol, String hostName, String authHostName, int port) Return Auth HTTP host.static org.apache.http.HttpHost
Return HTTP host.static void
AuthUtils.revokeToken
(AuthContext authContext) Revoke token if possible.