Class AccessHandler
- java.lang.Object
-
- de.gematik.ti.epa.vzd.gem.invoker.AccessHandler
-
public class AccessHandler extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpBasicAuthgetBaseAuth()static AccessHandlergetInstance()OAuthgetNewOAuth2Token()Requests an OAuth2 Token with Username and PasswordOAuthgetOAuth2Token()
-
-
-
Method Detail
-
getInstance
public static AccessHandler getInstance()
-
getOAuth2Token
public OAuth getOAuth2Token() throws org.apache.oltu.oauth2.common.exception.OAuthSystemException, org.apache.oltu.oauth2.common.exception.OAuthProblemException
- Throws:
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemException
-
getNewOAuth2Token
public OAuth getNewOAuth2Token() throws org.apache.oltu.oauth2.common.exception.OAuthProblemException, org.apache.oltu.oauth2.common.exception.OAuthSystemException
Requests an OAuth2 Token with Username and Password- Returns:
- Throws:
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemException
-
getBaseAuth
public HttpBasicAuth getBaseAuth()
-
-