gluu
|
公開メンバ関数 | |
void | dynamicClientRegistration (final String registerPath, final String redirectUris) throws Exception |
void | completeFlowStep1 (final String authorizePath, final String userId, final String userSecret, final String redirectUri) throws Exception |
void | completeFlowStep2 (final String tokenPath, final String validateTokenPath, final String redirectUri) throws Exception |
void | completeFlowStep3 (final String tokenPath, final String refreshToken) throws Exception |
void | completeFlowWithOptionalNonceStep1 (final String authorizePath, final String userId, final String userSecret, final String redirectUri) throws Exception |
void | completeFlowWithOptionalNonceStep2 (final String tokenPath, final String validateTokenPath, final String redirectUri) throws Exception |
void | completeFlowWithOptionalNonceStep3 (final String tokenPath, final String refreshToken) throws Exception |
void | revokeTokensStep1 (final String authorizePath, final String userId, final String userSecret, final String redirectUri) throws Exception |
void | revokeTokensStep2n3 (final String tokenPath, final String redirectUri) throws Exception |
void | revokeTokensStep4 (final String tokenPath) throws Exception |
void | revokeTokensStep5 (final String userInfoPath) throws Exception |
void | tokenExpirationStep1 (final String authorizePath, final String userId, final String userSecret, final String redirectUri) throws Exception |
void | tokenExpirationStep2 (final String tokenPath, final String redirectUri) throws Exception |
void | initTestSuite (ITestContext context) throws FileNotFoundException, IOException |
WebDriver | getDriver () |
void | setDriver (WebDriver driver) |
String | getAuthorizationEndpoint () |
void | setAuthorizationEndpoint (String authorizationEndpoint) |
String | getTokenEndpoint () |
void | setTokenEndpoint (String tokenEndpoint) |
String | getUserInfoEndpoint () |
void | setUserInfoEndpoint (String userInfoEndpoint) |
String | getClientInfoEndpoint () |
void | setClientInfoEndpoint (String clientInfoEndpoint) |
String | getCheckSessionIFrame () |
void | setCheckSessionIFrame (String checkSessionIFrame) |
String | getEndSessionEndpoint () |
void | setEndSessionEndpoint (String endSessionEndpoint) |
String | getJwksUri () |
void | setJwksUri (String jwksUri) |
String | getRegistrationEndpoint () |
void | setRegistrationEndpoint (String registrationEndpoint) |
String | getIntrospectionEndpoint () |
void | setIntrospectionEndpoint (String p_introspectionEndpoint) |
Map< String, List< String > > | getScopeToClaimsMapping () |
void | setScopeToClaimsMapping (Map< String, List< String >> p_scopeToClaimsMapping) |
String | getIdGenEndpoint () |
void | setIdGenEndpoint (String p_idGenEndpoint) |
String | getConfigurationEndpoint () |
void | setConfigurationEndpoint (String configurationEndpoint) |
void | startSelenium () |
void | stopSelenium () |
AuthorizationResponse | authenticateResourceOwnerAndGrantAccess (String authorizeUrl, AuthorizationRequest authorizationRequest, String userId, String userSecret) |
AuthorizationResponse | authenticateResourceOwnerAndGrantAccess (String authorizeUrl, AuthorizationRequest authorizationRequest, String userId, String userSecret, boolean cleanupCookies) |
AuthorizationResponse | authenticateResourceOwnerAndGrantAccess (String authorizeUrl, AuthorizationRequest authorizationRequest, String userId, String userSecret, boolean cleanupCookies, boolean useNewDriver) |
AuthorizationResponse | authenticateResourceOwnerAndGrantAccess (String authorizeUrl, AuthorizationRequest authorizationRequest, String userId, String userSecret, boolean cleanupCookies, boolean useNewDriver, int authzSteps) |
AuthorizationResponse | authenticateResourceOwnerAndDenyAccess (String authorizeUrl, AuthorizationRequest authorizationRequest, String userId, String userSecret) |
AuthorizationResponse | authorizationRequestAndGrantAccess (String authorizeUrl, AuthorizationRequest authorizationRequest) |
AuthorizationResponse | authorizationRequestAndDenyAccess (String authorizeUrl, AuthorizationRequest authorizationRequest) |
AuthorizationResponse | authenticateResourceOwner (String authorizeUrl, AuthorizationRequest authorizationRequest, String userId, String userSecret, boolean cleanupCookies) |
String | waitForResourceOwnerAndGrantLoginForm (String authorizeUrl, AuthorizationRequest authorizationRequest, boolean cleanupCookies) |
String | waitForResourceOwnerAndGrantLoginForm (String authorizeUrl, AuthorizationRequest authorizationRequest) |
void | discovery (ITestContext context) throws Exception |
void | showTitle (String title) |
void | showTitle (String title) |
void | showEntity (String entity) |
void | showResponse (String title, Response response) |
静的公開メンバ関数 | |
static void | showClient (BaseClient client) |
static void | showClient (BaseClient client, CookieStore cookieStore) |
static void | showClientUserAgent (BaseClient client) |
static void | assertErrorResponse (BaseResponseWithErrors p_response, IErrorType p_errorType) |
static DefaultHttpClient | createHttpClient () |
static DefaultHttpClient | createHttpClient (HostnameVerifierType p_verifierType) |
static ClientExecutor | clientExecutor () throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException |
static ClientExecutor | clientExecutor (boolean trustAll) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException |
static HttpClient | createHttpClientTrustAll () throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException |
static void | showResponse (String title, Response response, Object entity) |
static void | fails (Throwable e) |
static void | output (String p_msg) |
static Archive<?> | createDeployment () |
静的公開変数類 | |
static FileConfiguration | testData |
限定公開変数類 | |
WebDriver | driver |
String | authorizationEndpoint |
String | authorizationPageEndpoint |
String | gluuConfigurationEndpoint |
String | tokenEndpoint |
String | userInfoEndpoint |
String | clientInfoEndpoint |
String | checkSessionIFrame |
String | endSessionEndpoint |
String | jwksUri |
String | registrationEndpoint |
String | configurationEndpoint |
String | idGenEndpoint |
String | introspectionEndpoint |
Map< String, List< String > > | scopeToClaimsMapping |
非公開変数類 | |
URI | url |
静的非公開変数類 | |
static String | clientId |
static String | clientSecret |
static String | authorizationCode1 |
static String | authorizationCode2 |
static String | authorizationCode3 |
static String | authorizationCode4 |
static String | accessToken1 |
static String | refreshToken1 |
Test cases for the authorization code flow (embedded)
|
inlinestaticinherited |
|
inlineinherited |
The authorization server authenticates the resource owner (via the user-agent) No authorization page.
|
inlineinherited |
|
inlineinherited |
The authorization server authenticates the resource owner (via the user-agent) and establishes whether the resource owner grants or denies the client's access request.
|
inlineinherited |
The authorization server authenticates the resource owner (via the user-agent) and establishes whether the resource owner grants or denies the client's access request.
|
inlineinherited |
The authorization server authenticates the resource owner (via the user-agent) and establishes whether the resource owner grants or denies the client's access request.
|
inlineinherited |
The authorization server authenticates the resource owner (via the user-agent) and establishes whether the resource owner grants or denies the client's access request.
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inline |
Test for the complete Authorization Code Flow: 1. Request authorization and receive the authorization code. 2. Request access token using the authorization code. 3. Validate access token. 4. Request new access token using the refresh token.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlineinherited |
|
inline |
|
inlinestaticinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inline |
When an authorization code is used more than once, all the tokens issued for that authorization code must be revoked: 1. Request authorization and receive the authorization code. 2. Request access token using the authorization code. 3. Request access token using the same authorization code one more time. This call must fail. 4. Request new access token using the refresh token. This call must fail too. 5. Request user info must fail.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Test to verify the token expiration 1. Request authorization and receive the authorization code. ...Wait until the authorization code expires...
Exception |
|
inline |
|
inlineinherited |
Try to open login form (via the user-agent)
|
inlineinherited |
Try to open login form (via the user-agent)
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprivate |
|
protectedinherited |
|
staticprivate |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprivate |
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
|
protectedinherited |
|
private |
|
protectedinherited |