com.silverpeas.authentication.web
Class WebServiceAuthenticationTest
java.lang.Object
com.sun.jersey.test.framework.JerseyTest
com.silverpeas.web.RESTWebServiceTest<WebTestResources>
com.silverpeas.authentication.web.WebServiceAuthenticationTest
public class WebServiceAuthenticationTest
- extends RESTWebServiceTest<WebTestResources>
Tests on the authentication process when accessing the WEB resources published as REST services.
| Methods inherited from class com.silverpeas.web.RESTWebServiceTest |
addComponentInstance, addTool, aUser, authenticate, buildQueryParametersFrom, denieAuthorizationToUsers, denieSpaceAuthorizationToUsers, getAccessControllerMock, getExistingTools, getMockedSpaceAccessController, getOrganizationControllerMock, getPersonalizationServiceMock, getTestResources, prepareMockedResources, resource, setComponentAccessibilityToUser |
| Methods inherited from class com.sun.jersey.test.framework.JerseyTest |
client, configure, getBaseURI, getClient, getClientFactory, getPort, getTestContainerFactory, setClientFactory, setTestContainerFactory, setUp, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceAuthenticationTest
public WebServiceAuthenticationTest()
getExistingComponentInstances
public String[] getExistingComponentInstances()
- Specified by:
getExistingComponentInstances in class RESTWebServiceTest<WebTestResources>
init
public void init()
accessDenied
public void accessDenied()
authenticate
public void authenticate()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
accessWebResourcesInAnOpenedSession
public void accessWebResourcesInAnOpenedSession()
accessWebResourcesFromUserToken
public void accessWebResourcesFromUserToken()
openASessionAndAccessWebResourcesOutOfTheOpenedSession
public void openASessionAndAccessWebResourcesOutOfTheOpenedSession()
openASessionAndAccessWebResourcesInAnInexistingSession
public void openASessionAndAccessWebResourcesInAnInexistingSession()
Copyright © 2016 Silverpeas. All Rights Reserved.