All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alachisoft.ncache.security.ICacheSecurityProvider Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version
package com.alachisoft.ncache.security;

/**
 * Summary description for CacheSecurityProvider.
 */
public interface ICacheSecurityProvider {
    /**
     * @param initParam
     */
    void Initialize(Object initParam);

    /**
     * @param enabled
     * @param domainController
     * @param port
     * @param users
     */
    void Initialize(boolean enabled, String domainController, String port, java.util.Map users);

    /**
     *
     */
    void UnInitialize();

    /**
     * @param userName name of the user
     * @param password password of the user for authentication
     * @param arg0
     * @return true if the User is valid , otherwise
     * false.
     */
    boolean Authorize(String userName, String password, String arg0);
//	IIdentity getCurrentIdentity();
//	void setCurrentIdentity(IIdentity value);
//	IPrincipal getCurrentPrincipal();
//	void setCurrentPrincipal(IPrincipal value);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy