test_class.declarator: tokenService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private AuthenticationTokenService tokenService;
test_class.type: AuthenticationTokenService
test_class.var_name: tokenService
test_class.declarator: staticSecurityService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private StaticSecurityService staticSecurityService;
test_class.type: StaticSecurityService
test_class.var_name: staticSecurityService
test_class.file: plugin/staticsecurity/staticsecurity/src/test/java/org/geomajas/plugin/staticsecurity/security/StaticSecurityServiceTest.java
test_class.identifier: StaticSecurityServiceTest
test_case.body: @Test
  	public void testService() throws Exception {
  		Authentication auth = new Authentication();
  		String token = tokenService.login(auth);
  		Authentication res = staticSecurityService.getAuthentication(token);
  		Assert.assertEquals(auth, res);
  		tokenService.logout(token);
  		res = staticSecurityService.getAuthentication(token);
  		Assert.assertNull(res);
  	}
test_case.class_method_signature: StaticSecurityServiceTest.testService()
test_case.full_signature: @Test public void testService()
test_case.identifier: testService
test_case.invocations: login getAuthentication assertEquals logout getAuthentication assertNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testService()
focal_class.declarator: SECURITY_SERVICE_ID = "StaticSecurity"
focal_class.modifier: public static final
focal_class.original_string: public static final String SECURITY_SERVICE_ID = "StaticSecurity";
focal_class.type: String
focal_class.var_name: SECURITY_SERVICE_ID
focal_class.declarator: authenticationTokenService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private AuthenticationTokenService authenticationTokenService;
focal_class.type: AuthenticationTokenService
focal_class.var_name: authenticationTokenService
focal_class.file: plugin/staticsecurity/staticsecurity/src/main/java/org/geomajas/plugin/staticsecurity/security/StaticSecurityService.java
focal_class.identifier: StaticSecurityService
focal_class.interfaces: implements SecurityService
focal_class.class_method_signature: StaticSecurityService.getId()
focal_class.full_signature: @Override public String getId()
focal_class.identifier: getId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getId()
focal_class.class_method_signature: StaticSecurityService.getAuthentication(String token)
focal_class.full_signature: @Override public Authentication getAuthentication(String token)
focal_class.identifier: getAuthentication
focal_class.modifiers: @Override public
focal_class.parameters: (String token)
focal_class.return: Authentication
focal_class.signature: Authentication getAuthentication(String token)
focal_method.body: @Override
  	public Authentication getAuthentication(String token) {
  		return authenticationTokenService.getAuthentication(token);
  	}
focal_method.class_method_signature: StaticSecurityService.getAuthentication(String token)
focal_method.full_signature: @Override public Authentication getAuthentication(String token)
focal_method.identifier: getAuthentication
focal_method.invocations: getAuthentication
focal_method.modifiers: @Override public
focal_method.parameters: (String token)
focal_method.return: Authentication
focal_method.signature: Authentication getAuthentication(String token)