package com.aperture_software.glados_wiki.tests;
import com.aperture_software.glados_wiki.junit.MyTestcase;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Created by jhyun on 13. 12. 28.
*/
@Ignore
public class UserAuthenticationTests extends MyTestcase {
@Autowired
private org.apache.shiro.mgt.SecurityManager securityManager;
@Test
public void t_01() {
UsernamePasswordToken upt = new UsernamePasswordToken("admin", "admin1234");
AuthenticationInfo s = securityManager.authenticate(upt);
LOG.debug(ObjectUtils.toString(s.getClass()));
LOG.debug(ObjectUtils.toString(s));
}
}