Example usage for com.liferay.portal.kernel.security.auth Authenticator interface-usage

List of usage examples for com.liferay.portal.kernel.security.auth Authenticator interface-usage

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.security.auth Authenticator interface-usage.

Usage

From source file blade.authenticator.shiro.ShiroAuthenticatorPre.java

@Component(immediate = true, property = { "key=auth.pipeline.pre" }, service = Authenticator.class)
public class ShiroAuthenticatorPre implements Authenticator {

    @Activate
    public void activate() {
        Factory<SecurityManager> factory = new IniSecurityManagerFactory("classpath:userauth.ini");

From source file com.liferay.blade.samples.authenticator.shiro.ShiroAuthenticatorPre.java

/**
 * @author Liferay
 */
@Component(immediate = true, property = { "key=auth.pipeline.pre" }, service = Authenticator.class)
public class ShiroAuthenticatorPre implements Authenticator {