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.realms.MemoryRealm.java

/**
 * This is a pretty simple sample of how you can completely override the nexus
 * security, using your own Realm.
 * 
 * This MemoryRealm emulates the default nexus security model, and disables the
 * privileges that shouldn't be available when nexus security isn't used

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

/**
 * @see ExternalRoleMappedTest
 */
public class MockRealm extends AuthorizingRealm {
    public static final String NAME = "Mock";

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

@Singleton
@Typed(Realm.class)
@Named("MockRealmB")
public class MockRealmB extends AuthorizingRealm {
    public MockRealmB() {
        this.setAuthenticationTokenClass(UsernamePasswordToken.class);

From source file org.sonatype.security.realms.publickey.PublicKeyAuthenticatingRealm.java

/**
 * Shiro {@link org.apache.shiro.realm.Realm} for authenticating {@link java.security.PublicKey}s. Implement a
 * {@link PublicKeyRepository} in which you consult your own accounts backend, or use the
 * {@link com.sonatype.sshjgit.core.shiro.publickey.SimplePublicKeyRepository} for testing purposes. <BR/>
 * Originally implemented for use with SSHD, this realm compares two public keys for equality. It does NOT handle any
 * part of the TLS handshake. For more info on that <a

From source file org.sonatype.security.realms.simple.SimpleRealm.java

/**
 * All this class really needs to do is return an AuthorizationInfo. You could go go all out and implement Realm, but
 * that is more then I want to cover in this example.
 */
@Singleton
@Named("Simple")

From source file org.sonatype.security.realms.url.URLRealm.java

/**
 * A Realm that connects to a remote URL to verify authorization.<BR/>
 * All URL realm users are given the role defined by ${url-authentication-default-role}.<BR/>
 * NOTE: Redirects are NOT followed.
 * 
 * @author Brian Demers

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

/**
 * An Authentication Realm backed by an XML file see the security-model-xml module. This model defines users, roles,
 * and
 * privileges. This realm ONLY handles authentication.
 *
 * @author Brian Demers

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

/**
 * An Authorizing Realm backed by an XML file see the security-model-xml module. This model defines users, roles, and
 * privileges. This realm ONLY handles authorization.
 *
 * @author Brian Demers
 */

From source file org.springbok.modules.service.account.ShiroDbRealm.java

public class ShiroDbRealm extends AuthorizingRealm {

    protected AccountService accountService;

    /**
     * ?,.

From source file org.springboot.system.account.service.ShiroDbRealm.java

public class ShiroDbRealm extends AuthorizingRealm {

    protected AccountService accountService;

    /**
     * ?,.