Example usage for org.apache.shiro.subject Subject interface-usage

List of usage examples for org.apache.shiro.subject Subject interface-usage

Introduction

In this page you can find the example usage for org.apache.shiro.subject Subject interface-usage.

Usage

From source file com.caricah.iotracah.bootstrap.security.realm.state.IOTSubject.java

/**
 * @author <a href="mailto:bwire@caricah.com"> Peter Bwire </a>
 * @version 1.0 2/3/16
 */
public class IOTSubject implements Subject {

From source file com.thesett.util.security.shiro.LocalSubject.java

/**
 * LocalSubject is a shiro security subject that can be configured locally, and then attached to the current thread to
 * provide access rights locally to that thread.
 *
 * <pre><p/><table id="crc"><caption>CRC Card</caption>
 * <tr><th> Responsibilities <th> Collaborations

From source file ddf.security.Subject.java

/**
 * This class extends {@link org.apache.shiro.subject.Subject}, {@link java.io.Serializable}, and
 * {@link java.security.Principal} in order for the Subject to be accessible through the {@link
 * ddf.catalog.operation.Operation} property map.
 */
public interface Subject extends org.apache.shiro.subject.Subject, Serializable, Principal {

From source file org.apache.activemq.shiro.subject.SubjectAdapter.java

/**
 * @since 5.10.0
 */
public class SubjectAdapter implements Subject {

    @Override

From source file org.sonatype.nexus.scheduling.TaskSecuritySubject.java

public class TaskSecuritySubject implements Subject {
    private static final String USER_ID = "Task-User";
    private PrincipalCollection principalCollection = new SimplePrincipalCollection(USER_ID, "");

    public void checkPermission(String permission) throws AuthorizationException {
        // do nothing

From source file org.sonatype.nexus.security.subject.FakeAlmightySubject.java

/**
 * An "almighty" subject, that has all permissions, all roles, has all. Mostly to be used in thread pools and executor
 * services, as security subject for task execution.
 *
 * @since 2.6
 */

From source file org.sonatype.nexus.threads.FakeAlmightySubject.java

/**
 * An "almighty" subject, that has all permissions, all roles, has all. Mostly to be used in thread pools and executor
 * services, as security subject for task execution.
 *
 * @author cstamas
 * @since 2.6