Package org.uberfire.security.server.auth.impl

Source Code of org.uberfire.security.server.auth.impl.PropertyAuthenticationManager

package org.uberfire.security.server.auth.impl;

import java.util.Collections;

import javax.enterprise.inject.Alternative;

import org.uberfire.security.auth.SubjectPropertiesProvider;
import org.uberfire.security.server.auth.BasicUserPassAuthenticationScheme;
import org.uberfire.security.server.auth.source.PropertyUserSource;

@Alternative
public class PropertyAuthenticationManager extends SimpleUserPassAuthenticationManager {

    public PropertyAuthenticationManager( final SubjectPropertiesProvider propertiesProvider ) {
        super( new PropertyUserSource(),
               new BasicUserPassAuthenticationScheme(),
               null,
               propertiesProvider,
               Collections.<String, String>emptyMap() );
    }

}
TOP

Related Classes of org.uberfire.security.server.auth.impl.PropertyAuthenticationManager

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.