goja.plugins.shiro.AbstractAuthzHandler Maven / Gradle / Ivy
The newest version!
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2013-2014 sagyf Yang. The Four Group.
*/
package goja.plugins.shiro;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
/**
* 访问控制抽象基类
*
* @author dafei
*/
abstract class AbstractAuthzHandler implements AuthzHandler {
/**
* 获得Shiro的Subject对象。
*/
protected Subject getSubject() {
return SecurityUtils.getSubject();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy