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

net.n2oapp.security.admin.impl.provider.SimpleSsoUserRoleProvider Maven / Gradle / Ivy

There is a newer version: 8.0.1
Show newest version
package net.n2oapp.security.admin.impl.provider;

import net.n2oapp.security.admin.api.model.Role;
import net.n2oapp.security.admin.api.model.SsoUser;
import net.n2oapp.security.admin.api.provider.SsoUserRoleProvider;

/**
 * Дефолтная реализация
 */
public class SimpleSsoUserRoleProvider implements SsoUserRoleProvider {

    @Override
    public boolean isSupports(String ssoName) {
        return true;
    }

    @Override
    public SsoUser createUser(SsoUser user) {
        return user;
    }

    @Override
    public void updateUser(SsoUser user) {

    }

    @Override
    public void deleteUser(SsoUser user) {

    }

    @Override
    public void changeActivity(SsoUser user) {

    }

    @Override
    public Role createRole(Role role) {
        return role;
    }

    @Override
    public void updateRole(Role role) {

    }

    @Override
    public void deleteRole(Role role) {

    }

    @Override
    public void resetPassword(SsoUser user) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy