public String getAuthenticationMode() { return AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name(); }
public String getAuthenticationMode() { return AuthenticationMode.UNAUTHENTICATED.name(); }
public String getAuthenticationMode() { return AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name(); }
public String getName() { return AuthenticationMode.UNAUTHENTICATED.name(); }
public String getName() { return AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name(); }
public String getName() { return AuthenticationMode.UNAUTHENTICATED.name(); }
public String getName() { return AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name(); }
public OAuthSecurityToken(String userId, String appUrl, String appId, String domain, String container, Long expiresAt) { this(userId, appUrl, appId, domain, container, expiresAt, AuthenticationMode.OAUTH.name()); }
public OAuthSecurityToken(String userId, String appUrl, String appId, String domain, String container, Long expiresAt) { this(userId, appUrl, appId, domain, container, expiresAt, AuthenticationMode.OAUTH.name()); }
public String getName() { return AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name(); }
public String getAuthenticationMode() { return AuthenticationMode.UNAUTHENTICATED.name(); }
public String getName() { return AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name(); }
public String getAuthenticationMode() { return AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name(); }
public OAuthSecurityToken(String userId, String appUrl, String appId, String domain, String container, Long expiresAt) { this(userId, appUrl, appId, domain, container, expiresAt, AuthenticationMode.OAUTH.name()); }
public SecurityToken getSecurityTokenForConsumerRequest(String consumerKey, String userId) { String domain = "samplecontainer.com"; String container = "default"; return new OAuthSecurityToken(userId, null, consumerKey, domain, container, null, AuthenticationMode.OAUTH_CONSUMER_REQUEST.name()); } }
public SecurityToken getSecurityTokenForConsumerRequest(String consumerKey, String userId) { String domain = "samplecontainer.com"; String container = "default"; return new OAuthSecurityToken(userId, null, consumerKey, domain, container, null, AuthenticationMode.OAUTH_CONSUMER_REQUEST.name()); } }
public SecurityToken getSecurityTokenForConsumerRequest(String consumerKey, String userId) { String domain = "samplecontainer.com"; String container = "default"; return new OAuthSecurityToken(userId, null, consumerKey, domain, container, null, AuthenticationMode.OAUTH_CONSUMER_REQUEST.name()); } }
@Test public void testGetSecurityTokenFromRequest() throws Exception { Assert.assertEquals(authHandler.getName(), AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name()); }
@Test public void testGetSecurityTokenFromRequest() throws Exception { Assert.assertEquals(authHandler.getName(), AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name()); }
@Test public void testGetSecurityTokenFromRequest() throws Exception { Assert.assertEquals(authHandler.getName(), AuthenticationMode.SECURITY_TOKEN_URL_PARAMETER.name()); }