Package org.eclipse.orion.server.authentication

Examples of org.eclipse.orion.server.authentication.IAuthenticationService


    @Override
    public IAuthenticationService addingService(ServiceReference<IAuthenticationService> reference) {
      if ("true".equals(reference.getProperty(PROP_CONFIGURED))) //$NON-NLS-1$
        return null;

      IAuthenticationService authService = super.addingService(reference);
      Dictionary dictionary = new Properties();
      dictionary.put(PROP_CONFIGURED, "true"); //$NON-NLS-1$
      if (getService() != null) {
        getService().setRegistered(false);
      }
      authService.setRegistered(true);
      context.registerService(IAuthenticationService.class.getName(), authService, dictionary);
      return authService;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.orion.server.authentication.IAuthenticationService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.