// Path: com.swookiee.runtime.authentication/src/main/java/com/swookiee/runtime/authentication/AuthenticationService.java
// public interface AuthenticationService {
// 
//     boolean validateUserCredentials(String username, String password);
// 
// }


import com.swookiee.runtime.authentication.AuthenticationService;
import org.apache.felix.webconsole.WebConsoleSecurityProvider;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
/*******************************************************************************
 * Copyright (c) 2014 Lars Pfannenschmidt and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Lars Pfannenschmidt - initial API and implementation, ongoing development and documentation
 *******************************************************************************/

package com.swookiee.runtime.authentication.internal;



@Component
public class SwookieeWebConsoleSecurityProvider implements WebConsoleSecurityProvider {

// Path: com.swookiee.runtime.authentication/src/main/java/com/swookiee/runtime/authentication/AuthenticationService.java
// public interface AuthenticationService {
// 
//     boolean validateUserCredentials(String username, String password);
// 
// }


// Path: com.swookiee.runtime.authentication/src/main/java/com/swookiee/runtime/authentication/internal/SwookieeWebConsoleSecurityProvider.java
import com.swookiee.runtime.authentication.AuthenticationService;
import org.apache.felix.webconsole.WebConsoleSecurityProvider;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;

/*******************************************************************************
 * Copyright (c) 2014 Lars Pfannenschmidt and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Lars Pfannenschmidt - initial API and implementation, ongoing development and documentation
 *******************************************************************************/

package com.swookiee.runtime.authentication.internal;



@Component
public class SwookieeWebConsoleSecurityProvider implements WebConsoleSecurityProvider {

    private AuthenticationService authenticationService;