Example usage for org.apache.shiro.realm AuthorizingRealm subclass-usage

List of usage examples for org.apache.shiro.realm AuthorizingRealm subclass-usage

Introduction

In this page you can find the example usage for org.apache.shiro.realm AuthorizingRealm subclass-usage.

Usage

From source file org.obiba.mica.security.realm.MicaAuthorizingRealm.java

@Component
public class MicaAuthorizingRealm extends AuthorizingRealm implements RolePermissionResolver {

    private static final String[] ALL_RESOURCES = { "network", "individual-study", "harmonization-study",
            "collected-dataset", "harmonized-dataset", "project" };

From source file org.obiba.opal.core.runtime.security.AbstractHttpAuthenticatingRealm.java

public abstract class AbstractHttpAuthenticatingRealm extends AuthorizingRealm {

    @Override
    protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
        Session session = getSession(getSessionId(token));
        if (session != null) {

From source file org.obiba.opal.core.runtime.security.BackgroundJobRealm.java

@Component
public class BackgroundJobRealm extends AuthorizingRealm {

    public BackgroundJobRealm() {
        setCredentialsMatcher(new AllowAllCredentialsMatcher());
    }

From source file org.obiba.opal.core.runtime.security.OrientDbRealm.java

@Component
public class OrientDbRealm extends AuthorizingRealm {

    @Autowired
    private UserService userService;

From source file org.obiba.opal.core.runtime.security.SpatialRealm.java

@Component
public class SpatialRealm extends AuthorizingRealm implements RolePermissionResolver {

    private final SubjectAclService subjectAclService;

    private final RolePermissionResolver rolePermissionResolver;

From source file org.obiba.opal.core.runtime.security.SudoRealm.java

@Component
public class SudoRealm extends AuthorizingRealm {

    public SudoRealm() {
        setCredentialsMatcher(new AllowAllCredentialsMatcher());
    }

From source file org.obiba.opal.core.service.security.realm.ApplicationRealm.java

/**
 * Realm for applications authenticated by SSL certificate.
 */
@Component
public class ApplicationRealm extends AuthorizingRealm {

From source file org.obiba.opal.core.service.security.realm.BackgroundJobRealm.java

@Component
public class BackgroundJobRealm extends AuthorizingRealm {

    private final AuthenticationInfo simpleAccount = new SimpleAccount(SystemPrincipal.INSTANCE, null, getName());

    public BackgroundJobRealm() {

From source file org.obiba.opal.core.service.security.realm.OpalUserRealm.java

/**
 * Realm for users defined in opal's own users database.
 */
@Component
public class OpalUserRealm extends AuthorizingRealm {

From source file org.obiba.opal.core.service.security.realm.SpatialRealm.java

@Component
public class SpatialRealm extends AuthorizingRealm implements RolePermissionResolver {

    private final SubjectAclService subjectAclService;

    private final RolePermissionResolver rolePermissionResolver;