net.n2oapp.security.admin.impl.provider.SimpleSsoUserRoleProvider Maven / Gradle / Ivy
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