/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.security.platform.filter;

import com.yami.shop.security.comment.filter.YamiAuthenticationProcessingFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 自定义登陆filter
 * 管理员登陆：
 *       post: http://127.0.0.1:8086/adminLogin
 *       {principal:username,credentials:password}
 * @author LGH
 */
@Component
public class PlatformLoginAuthenticationFilter extends YamiAuthenticationProcessingFilter {

    @Autowired
    public PlatformLoginAuthenticationFilter() {
        super("/platformLogin");
    }
}
