17,15 → 17,31 |
|
package net.brutex.xservices.security; |
|
import org.apache.logging.log4j.Logger; |
|
import java.net.URI; |
import java.net.URISyntaxException; |
import java.net.URL; |
|
import javax.servlet.ServletContext; |
|
import org.apache.catalina.core.ApplicationContext; |
import org.apache.logging.log4j.LogManager; |
import org.apache.logging.log4j.Logger; |
import org.apache.shiro.authc.AuthenticationException; |
import org.apache.shiro.authc.AuthenticationInfo; |
import org.apache.shiro.authc.AuthenticationToken; |
import org.apache.shiro.authz.AuthorizationInfo; |
import org.apache.shiro.authz.SimpleAuthorizationInfo; |
import org.apache.shiro.config.Ini; |
import org.apache.shiro.io.ResourceUtils; |
import org.apache.shiro.realm.AuthorizingRealm; |
import org.apache.shiro.realm.text.IniRealm; |
import org.apache.shiro.realm.text.TextConfigurationRealm; |
import org.apache.shiro.subject.PrincipalCollection; |
import org.apache.shiro.util.Nameable; |
import org.apache.shiro.web.env.IniWebEnvironment; |
import org.apache.shiro.web.util.WebUtils; |
|
import java.net.URI; |
import java.net.URISyntaxException; |
|
// TODO: Auto-generated Javadoc |
/* |
* For later use. A Realm connects to a DS where Users/ Passes are defined |