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

com.payneteasy.superfly.security.SSORoleRoleSource Maven / Gradle / Ivy

Go to download

Module for Spring Security which enables application to use Superfly authentication/authorization declaratively through Spring Security

There is a newer version: 1.7-32
Show newest version
package com.payneteasy.superfly.security;

import com.payneteasy.superfly.api.SSORole;
import com.payneteasy.superfly.api.SSOUser;

public class SSORoleRoleSource implements RoleSource {

    public String[] getRoleNames(SSOUser ssoUser, SSORole ssoRole) {
        String[] result = new String[1];
        result[0] = ssoRole.getName();
        return result;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy