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.sonatype.security.mock.MockRealm.java

@Singleton
@Typed(Realm.class)
@Named(MockRealm.NAME)
public class MockRealm extends AuthorizingRealm {
    public static final String NAME = "Mock";

From source file org.sonatype.security.mock.realms.ExceptionThrowingMockRealm.java

@Singleton
@Typed(Realm.class)
@Named("ExceptionThrowingMockRealm")
public class ExceptionThrowingMockRealm extends AuthorizingRealm {

    @Override

From source file org.sonatype.security.mock.realms.MockRealmB.java

@Singleton
@Typed(Realm.class)
@Named("MockRealmB")
public class MockRealmB extends AuthorizingRealm {

    public MockRealmB() {

From source file org.sonatype.security.realms.AuthorizingRealmImpl.java

/**
 * Default {@link AuthorizingRealm}.
 *
 * This realm ONLY handles authorization.
 */
@Singleton

From source file org.sonatype.security.realms.ExceptionThrowingMockRealm.java

public class ExceptionThrowingMockRealm extends AuthorizingRealm {
    @Override
    protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
        throw new AuthenticationException("This realm only throws exceptions");
    }

From source file org.sonatype.security.realms.FakeRealm1.java

/**
 * @see SecurityAuthenticationTest
 */
public class FakeRealm1 extends AuthorizingRealm {
    @Override
    public String getName() {

From source file org.sonatype.security.realms.FakeRealm2.java

/**
 * @see SecurityAuthenticationTest
 */
public class FakeRealm2 extends AuthorizingRealm {
    @Override
    public String getName() {

From source file org.sonatype.security.realms.kenai.internal.KenaiRealm.java

/**
 * A Realm that connects to a java.net kenai API.
 *
 * @author Brian Demers
 */
@Singleton

From source file org.sonatype.security.realms.kenai.KenaiRealm.java

/**
 * A Realm that connects to a java.net kenai API.
 *
 * @author Brian Demers
 */
@Singleton

From source file org.sonatype.security.realms.MemoryAuthenticationOnlyRealm.java

/**
 * This is a sample of how you can inject your own authentication system
 * but still leave the authorization to nexus.
 * 
 * This MemoryAuthenticationOnlyRealm will handle authentication on its own
 *