io.buji.pac4j.engine.ShiroSecurityLogic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of buji-pac4j Show documentation
Show all versions of buji-pac4j Show documentation
Bridge from the pac4j security library to Shiro
package io.buji.pac4j.engine;
import org.pac4j.core.context.WebContext;
import org.pac4j.core.engine.DefaultSecurityLogic;
import io.buji.pac4j.profile.ShiroProfileManager;
/**
* Specialized SecurityLogic aimed for buji : makes a clean use of the ShiroProfileManager.
*
* @see DefaultSecurityLogic
*
* @author Andre Doherty
* @since 3.2.0
*/
public class ShiroSecurityLogic extends DefaultSecurityLogic {
public ShiroSecurityLogic() {
super();
this.setProfileManagerFactory(ShiroProfileManager::new);
}
}