前台用的vue单页面,后台用的SSM,请问怎样做一个shiro登陆拦截

http://localhost:8080/index.html#/ 这是首页,也就是登陆页面
http://localhost:8080/api/login.json 这是登陆的Ajax
http://localhost:8080/#/admin/admin 这是登陆成功后的首页

        <property name="filterChainDefinitions">
            <value>
                /static/css/** = anon

                /static/js/** = anon

                /static/img/** = anon
                /api/login.json = anon
                /api/logout = logout
                /**= authc

            </value>
        </property>
            请问怎么配置shiro实现登陆拦截,急用,谢谢

https://blog.csdn.net/hu_lichao/article/details/81708631