io.buji.pac4j.engine.ShiroCallbackLogic 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.DefaultCallbackLogic;
import io.buji.pac4j.profile.ShiroProfileManager;
/**
* Specialized CallbackLogic aimed for buji : makes a clean use of the ShiroProfileManager.
*
* @see DefaultCallbackLogic
*
* @author Andre Doherty
* @since 3.2.0
*/
public class ShiroCallbackLogic extends DefaultCallbackLogic {
public ShiroCallbackLogic() {
super();
this.setProfileManagerFactory(ShiroProfileManager::new);
}
}