// Path: config-face/src/main/java/com/dangdang/config/face/service/INodeService.java
// public interface INodeService {
// 
// 	List<PropertyItem> findProperties(String node);
// 
// 	List<String> listChildren(String node);
// 
// 	boolean createProperty(String node);
// 
// 	boolean createProperty(String node, String value);
// 
// 	boolean updateProperty(String node, String value);
// 
// 	void deleteProperty(String node);
// 
// 	String getValue(String node);
// }


import com.dangdang.config.face.service.INodeService;
import com.google.common.base.Charsets;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import com.google.common.hash.Hashing;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.crypto.password.PasswordEncoder;
import java.util.Objects;
package com.dangdang.config.face.config;



@Configuration
@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

    @Autowired
// Path: config-face/src/main/java/com/dangdang/config/face/service/INodeService.java
// public interface INodeService {
// 
// 	List<PropertyItem> findProperties(String node);
// 
// 	List<String> listChildren(String node);
// 
// 	boolean createProperty(String node);
// 
// 	boolean createProperty(String node, String value);
// 
// 	boolean updateProperty(String node, String value);
// 
// 	void deleteProperty(String node);
// 
// 	String getValue(String node);
// }


// Path: config-face/src/main/java/com/dangdang/config/face/config/WebSecurityConfig.java
import com.dangdang.config.face.service.INodeService;
import com.google.common.base.Charsets;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import com.google.common.hash.Hashing;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.crypto.password.PasswordEncoder;
import java.util.Objects;

package com.dangdang.config.face.config;



@Configuration
@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

    @Autowired
    private INodeService nodeService;