Uses of Class
org.apache.synapse.endpoints.auth.AuthException
-
Packages that use AuthException Package Description org.apache.synapse.endpoints.auth org.apache.synapse.endpoints.auth.basicauth org.apache.synapse.endpoints.auth.oauth -
-
Uses of AuthException in org.apache.synapse.endpoints.auth
Methods in org.apache.synapse.endpoints.auth that throw AuthException Modifier and Type Method Description static AuthHandler
AuthUtils. getAuthHandler(org.apache.axiom.om.OMElement httpElement)
This method will return an AuthHandler instance depending on the auth configsvoid
AuthHandler. setAuthHeader(MessageContext messageContext)
This method will set the Authorization header with the relevant auth token. -
Uses of AuthException in org.apache.synapse.endpoints.auth.basicauth
Methods in org.apache.synapse.endpoints.auth.basicauth that throw AuthException Modifier and Type Method Description void
BasicAuthHandler. setAuthHeader(MessageContext messageContext)
-
Uses of AuthException in org.apache.synapse.endpoints.auth.oauth
Methods in org.apache.synapse.endpoints.auth.oauth that throw AuthException Modifier and Type Method Description protected String
AuthorizationCodeHandler. buildTokenRequestPayload(MessageContext messageContext)
protected String
ClientCredentialsHandler. buildTokenRequestPayload(MessageContext messageContext)
protected abstract String
OAuthHandler. buildTokenRequestPayload(MessageContext messageContext)
Return the request payload relevant to the OAuth handler.protected String
PasswordCredentialsHandler. buildTokenRequestPayload(MessageContext messageContext)
static String
OAuthClient. generateToken(String tokenApiUrl, String payload, String credentials, MessageContext messageContext, Map<String,String> customHeaders)
Method to generate the access token from an OAuth serverprotected String
OAuthHandler. getEncodedCredentials(MessageContext messageContext)
Return the base 64 encoded clientId:clientSecret relevant to the OAuth handler.protected String
OAuthHandler. getRequestParametersAsString(MessageContext messageContext)
Return the request parameters as a string.static String
OAuthUtils. resolveExpression(String value, MessageContext messageContext)
This method evaluate the value as an expression or return the value.void
OAuthHandler. setAuthHeader(MessageContext messageContext)
-