| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_21) on Thu May 30 15:02:21 PDT 2013 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>Uses of Interface org.apache.shiro.realm.Realm (Apache Shiro 1.2.2 API)</title> |
| <meta name="date" content="2013-05-30"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Interface org.apache.shiro.realm.Realm (Apache Shiro 1.2.2 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/shiro/realm/class-use/Realm.html" target="_top">Frames</a></li> |
| <li><a href="Realm.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h2 title="Uses of Interface org.apache.shiro.realm.Realm" class="title">Uses of Interface<br>org.apache.shiro.realm.Realm</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> |
| <caption><span>Packages that use <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.authc.pam">org.apache.shiro.authc.pam</a></td> |
| <td class="colLast"> |
| <div class="block">Support for <em>PAM</em>, or <b>P</b>luggable <b>A</b>uthentication <b>M</b>odules, which is |
| the capability to authenticate a user against multiple configurable (pluggable) <em>modules</em> (Shiro |
| calls these <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a>s).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.authz">org.apache.shiro.authz</a></td> |
| <td class="colLast"> |
| <div class="block">Core interfaces and exceptions supporting Authorization (access control).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.cas">org.apache.shiro.cas</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.config">org.apache.shiro.config</a></td> |
| <td class="colLast"> |
| <div class="block">Components that support configuring Shiro in any application.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.guice">org.apache.shiro.guice</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.mgt">org.apache.shiro.mgt</a></td> |
| <td class="colLast"> |
| <div class="block">Provides the master <a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt"><code>SecurityManager</code></a> interface and a default implementation |
| hierarchy for managing all aspects of Shiro's functionality in an application.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.realm">org.apache.shiro.realm</a></td> |
| <td class="colLast"> |
| <div class="block">Components and sub-packages used in supporting the core <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> interface.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.realm.activedirectory">org.apache.shiro.realm.activedirectory</a></td> |
| <td class="colLast"> |
| <div class="block">Realms that acquire security data from a Microsoft Active Directory.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.realm.jdbc">org.apache.shiro.realm.jdbc</a></td> |
| <td class="colLast"> |
| <div class="block">Realms that acquire security data from an RDBMS (Relational Database Management System) using the |
| JDBC API.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.realm.jndi">org.apache.shiro.realm.jndi</a></td> |
| <td class="colLast"> |
| <div class="block">Support for acquiring Realms from JNDI, particularly useful for configuring Shiro in JEE or EJB environments.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.realm.ldap">org.apache.shiro.realm.ldap</a></td> |
| <td class="colLast"> |
| <div class="block">Realms that acquire security data from an LDAP (Lightweight Directory Access Protocol) server |
| utilizing LDAP/Naming APIs.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.realm.text">org.apache.shiro.realm.text</a></td> |
| <td class="colLast"> |
| <div class="block">Realms that acquire security data from text-based data sources such as <code>File</code>s or |
| text streams.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="#org.apache.shiro.web.mgt">org.apache.shiro.web.mgt</a></td> |
| <td class="colLast"> |
| <div class="block">Components supporting web-specific |
| <a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt"><code>SecurityManager</code></a> implementations.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"><a name="org.apache.shiro.authc.pam"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/authc/pam/package-summary.html">org.apache.shiro.authc.pam</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/authc/pam/package-summary.html">org.apache.shiro.authc.pam</a> that return types with arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>></code></td> |
| <td class="colLast"><span class="strong">ModularRealmAuthenticator.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/ModularRealmAuthenticator.html#getRealms()">getRealms</a></strong>()</code> |
| <div class="block">Returns the realm(s) used by this <code>Authenticator</code> during an authentication attempt.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/authc/pam/package-summary.html">org.apache.shiro.authc.pam</a> with parameters of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AuthenticationStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AuthenticationStrategy.html#afterAttempt(org.apache.shiro.realm.Realm, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.AuthenticationInfo, org.apache.shiro.authc.AuthenticationInfo, java.lang.Throwable)">afterAttempt</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> singleRealmInfo, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> aggregateInfo, |
| <a href="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code> |
| <div class="block">Method invoked by the ModularAuthenticator just after the given realm has been consulted for authentication, |
| allowing post-authentication-attempt logic for that realm only.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AllSuccessfulStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AllSuccessfulStrategy.html#afterAttempt(org.apache.shiro.realm.Realm, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.AuthenticationInfo, org.apache.shiro.authc.AuthenticationInfo, java.lang.Throwable)">afterAttempt</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> info, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> aggregate, |
| <a href="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code> |
| <div class="block">Merges the specified <code>info</code> into the <code>aggregate</code> argument and returns it (just as the |
| parent implementation does), but additionally ensures the following: |
| |
| if the <code>Throwable</code> argument is not <code>null</code>, re-throws it to immediately cancel the |
| authentication process, since this strategy requires all realms to authenticate successfully. |
| neither the <code>info</code> or <code>aggregate</code> argument is <code>null</code> to ensure that each |
| realm did in fact authenticate successfully |
| </div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AbstractAuthenticationStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AbstractAuthenticationStrategy.html#afterAttempt(org.apache.shiro.realm.Realm, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.AuthenticationInfo, org.apache.shiro.authc.AuthenticationInfo, java.lang.Throwable)">afterAttempt</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> singleRealmInfo, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> aggregateInfo, |
| <a href="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code> |
| <div class="block">Base implementation that will aggregate the specified <code>singleRealmInfo</code> into the |
| <code>aggregateInfo</code> and then returns the aggregate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AuthenticationStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AuthenticationStrategy.html#beforeAttempt(org.apache.shiro.realm.Realm, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.AuthenticationInfo)">beforeAttempt</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> aggregate)</code> |
| <div class="block">Method invoked by the ModularAuthenticator just prior to the realm being consulted for account data, |
| allowing pre-authentication-attempt logic for that realm only.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AllSuccessfulStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AllSuccessfulStrategy.html#beforeAttempt(org.apache.shiro.realm.Realm, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.AuthenticationInfo)">beforeAttempt</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> info)</code> |
| <div class="block">Because all realms in this strategy must complete successfully, this implementation ensures that the given |
| <code>Realm</code> <a href="../../../../../org/apache/shiro/realm/Realm.html#supports(org.apache.shiro.authc.AuthenticationToken)"><code>supports</code></a> the given |
| <code>token</code> argument.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AbstractAuthenticationStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AbstractAuthenticationStrategy.html#beforeAttempt(org.apache.shiro.realm.Realm, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.AuthenticationInfo)">beforeAttempt</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a> aggregate)</code> |
| <div class="block">Simply returns the <code>aggregate</code> method argument, without modification.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">ModularRealmAuthenticator.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/ModularRealmAuthenticator.html#doSingleRealmAuthentication(org.apache.shiro.realm.Realm, org.apache.shiro.authc.AuthenticationToken)">doSingleRealmAuthentication</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token)</code> |
| <div class="block">Performs the authentication attempt by interacting with the single configured realm, which is significantly |
| simpler than performing multi-realm logic.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Method parameters in <a href="../../../../../org/apache/shiro/authc/pam/package-summary.html">org.apache.shiro.authc.pam</a> with type arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">FirstSuccessfulStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/FirstSuccessfulStrategy.html#beforeAllAttempts(java.util.Collection, org.apache.shiro.authc.AuthenticationToken)">beforeAllAttempts</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token)</code> |
| <div class="block">Returns <code>null</code> immediately, relying on this class's <a href="../../../../../org/apache/shiro/authc/pam/FirstSuccessfulStrategy.html#merge(org.apache.shiro.authc.AuthenticationInfo, org.apache.shiro.authc.AuthenticationInfo)"><code>merge</code></a> implementation to return |
| only the first <code>info</code> object it encounters, ignoring all subsequent ones.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AuthenticationStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AuthenticationStrategy.html#beforeAllAttempts(java.util.Collection, org.apache.shiro.authc.AuthenticationToken)">beforeAllAttempts</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token)</code> |
| <div class="block">Method invoked by the ModularAuthenticator signifying that the authentication process is about to begin for the |
| specified <code>token</code> - called before any <code>Realm</code> is actually invoked.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">AbstractAuthenticationStrategy.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/AbstractAuthenticationStrategy.html#beforeAllAttempts(java.util.Collection, org.apache.shiro.authc.AuthenticationToken)">beforeAllAttempts</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token)</code> |
| <div class="block">Simply returns <code>new <a href="../../../../../org/apache/shiro/authc/SimpleAuthenticationInfo.html" title="class in org.apache.shiro.authc"><code>SimpleAuthenticationInfo</code></a>();</code>, which supports |
| aggregating account data across realms.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/shiro/authc/AuthenticationInfo.html" title="interface in org.apache.shiro.authc">AuthenticationInfo</a></code></td> |
| <td class="colLast"><span class="strong">ModularRealmAuthenticator.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/ModularRealmAuthenticator.html#doMultiRealmAuthentication(java.util.Collection, org.apache.shiro.authc.AuthenticationToken)">doMultiRealmAuthentication</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms, |
| <a href="../../../../../org/apache/shiro/authc/AuthenticationToken.html" title="interface in org.apache.shiro.authc">AuthenticationToken</a> token)</code> |
| <div class="block">Performs the multi-realm authentication attempt by calling back to a <a href="../../../../../org/apache/shiro/authc/pam/AuthenticationStrategy.html" title="interface in org.apache.shiro.authc.pam"><code>AuthenticationStrategy</code></a> object |
| as each realm is consulted for <code>AuthenticationInfo</code> for the specified <code>token</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><span class="strong">ModularRealmAuthenticator.</span><code><strong><a href="../../../../../org/apache/shiro/authc/pam/ModularRealmAuthenticator.html#setRealms(java.util.Collection)">setRealms</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms)</code> |
| <div class="block">Sets all realms used by this Authenticator, providing PAM (Pluggable Authentication Module) configuration.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.authz"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/authz/package-summary.html">org.apache.shiro.authz</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> |
| <caption><span>Fields in <a href="../../../../../org/apache/shiro/authz/package-summary.html">org.apache.shiro.authz</a> with type parameters of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>></code></td> |
| <td class="colLast"><span class="strong">ModularRealmAuthorizer.</span><code><strong><a href="../../../../../org/apache/shiro/authz/ModularRealmAuthorizer.html#realms">realms</a></strong></code> |
| <div class="block">The realms to consult during any authorization check.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/authz/package-summary.html">org.apache.shiro.authz</a> that return types with arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>></code></td> |
| <td class="colLast"><span class="strong">ModularRealmAuthorizer.</span><code><strong><a href="../../../../../org/apache/shiro/authz/ModularRealmAuthorizer.html#getRealms()">getRealms</a></strong>()</code> |
| <div class="block">Returns the realms wrapped by this <code>Authorizer</code> which are consulted during an authorization check.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Method parameters in <a href="../../../../../org/apache/shiro/authz/package-summary.html">org.apache.shiro.authz</a> with type arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><span class="strong">ModularRealmAuthorizer.</span><code><strong><a href="../../../../../org/apache/shiro/authz/ModularRealmAuthorizer.html#setRealms(java.util.Collection)">setRealms</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms)</code> |
| <div class="block">Sets the realms wrapped by this <code>Authorizer</code> which are consulted during an authorization check.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> |
| <caption><span>Constructor parameters in <a href="../../../../../org/apache/shiro/authz/package-summary.html">org.apache.shiro.authz</a> with type arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/authz/ModularRealmAuthorizer.html#ModularRealmAuthorizer(java.util.Collection)">ModularRealmAuthorizer</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms)</code> |
| <div class="block">Constructor that accepts the <code>Realm</code>s to consult during an authorization check.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.cas"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/cas/package-summary.html">org.apache.shiro.cas</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> |
| <caption><span>Classes in <a href="../../../../../org/apache/shiro/cas/package-summary.html">org.apache.shiro.cas</a> that implement <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/cas/CasRealm.html" title="class in org.apache.shiro.cas">CasRealm</a></strong></code> |
| <div class="block">This realm implementation acts as a CAS client to a CAS server for authentication and basic authorization.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.config"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/config/package-summary.html">org.apache.shiro.config</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/config/package-summary.html">org.apache.shiro.config</a> that return <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></code></td> |
| <td class="colLast"><span class="strong">IniSecurityManagerFactory.</span><code><strong><a href="../../../../../org/apache/shiro/config/IniSecurityManagerFactory.html#createRealm(org.apache.shiro.config.Ini)">createRealm</a></strong>(<a href="../../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config">Ini</a> ini)</code> |
| <div class="block">Creates a <code>Realm</code> from the Ini instance containing account data.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Method parameters in <a href="../../../../../org/apache/shiro/config/package-summary.html">org.apache.shiro.config</a> with type arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><span class="strong">IniSecurityManagerFactory.</span><code><strong><a href="../../../../../org/apache/shiro/config/IniSecurityManagerFactory.html#applyRealmsToSecurityManager(java.util.Collection, org.apache.shiro.mgt.SecurityManager)">applyRealmsToSecurityManager</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms, |
| <a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> securityManager)</code> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.guice"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/guice/package-summary.html">org.apache.shiro.guice</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/guice/package-summary.html">org.apache.shiro.guice</a> that return types with arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected com.google.inject.binder.LinkedBindingBuilder<<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>></code></td> |
| <td class="colLast"><span class="strong">ShiroModule.</span><code><strong><a href="../../../../../org/apache/shiro/guice/ShiroModule.html#bindRealm()">bindRealm</a></strong>()</code> |
| <div class="block">This is the preferred manner to bind a realm.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.mgt"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/mgt/package-summary.html">org.apache.shiro.mgt</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/mgt/package-summary.html">org.apache.shiro.mgt</a> that return types with arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>></code></td> |
| <td class="colLast"><span class="strong">RealmSecurityManager.</span><code><strong><a href="../../../../../org/apache/shiro/mgt/RealmSecurityManager.html#getRealms()">getRealms</a></strong>()</code> |
| <div class="block">Returns the <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a>s managed by this SecurityManager instance.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/mgt/package-summary.html">org.apache.shiro.mgt</a> with parameters of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><span class="strong">RealmSecurityManager.</span><code><strong><a href="../../../../../org/apache/shiro/mgt/RealmSecurityManager.html#setRealm(org.apache.shiro.realm.Realm)">setRealm</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> realm)</code> |
| <div class="block">Convenience method for applications using a single realm that merely wraps the realm in a list and then invokes |
| the <a href="../../../../../org/apache/shiro/mgt/RealmSecurityManager.html#setRealms(java.util.Collection)"><code>RealmSecurityManager.setRealms(java.util.Collection<org.apache.shiro.realm.Realm>)</code></a> method.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Method parameters in <a href="../../../../../org/apache/shiro/mgt/package-summary.html">org.apache.shiro.mgt</a> with type arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><span class="strong">RealmSecurityManager.</span><code><strong><a href="../../../../../org/apache/shiro/mgt/RealmSecurityManager.html#setRealms(java.util.Collection)">setRealms</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms)</code> |
| <div class="block">Sets the realms managed by this <tt>SecurityManager</tt> instance.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> |
| <caption><span>Constructors in <a href="../../../../../org/apache/shiro/mgt/package-summary.html">org.apache.shiro.mgt</a> with parameters of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/mgt/DefaultSecurityManager.html#DefaultSecurityManager(org.apache.shiro.realm.Realm)">DefaultSecurityManager</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> singleRealm)</code> |
| <div class="block">Supporting constructor for a single-realm application.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> |
| <caption><span>Constructor parameters in <a href="../../../../../org/apache/shiro/mgt/package-summary.html">org.apache.shiro.mgt</a> with type arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/mgt/DefaultSecurityManager.html#DefaultSecurityManager(java.util.Collection)">DefaultSecurityManager</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms)</code> |
| <div class="block">Supporting constructor for multiple <a href="../../../../../org/apache/shiro/mgt/RealmSecurityManager.html#setRealms(java.util.Collection)"><code>realms</code></a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.realm"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/realm/package-summary.html">org.apache.shiro.realm</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> |
| <caption><span>Classes in <a href="../../../../../org/apache/shiro/realm/package-summary.html">org.apache.shiro.realm</a> that implement <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/AuthenticatingRealm.html" title="class in org.apache.shiro.realm">AuthenticatingRealm</a></strong></code> |
| <div class="block">A top-level abstract implementation of the <tt>Realm</tt> interface that only implements authentication support |
| (log-in) operations and leaves authorization (access control) behavior to subclasses.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/AuthorizingRealm.html" title="class in org.apache.shiro.realm">AuthorizingRealm</a></strong></code> |
| <div class="block">An <code>AuthorizingRealm</code> extends the <code>AuthenticatingRealm</code>'s capabilities by adding Authorization |
| (access control) support.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/CachingRealm.html" title="class in org.apache.shiro.realm">CachingRealm</a></strong></code> |
| <div class="block">A very basic abstract extension point for the <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> interface that provides caching support for subclasses.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/SimpleAccountRealm.html" title="class in org.apache.shiro.realm">SimpleAccountRealm</a></strong></code> |
| <div class="block">A simple implementation of the <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> interface that |
| uses a set of configured user accounts and roles to support authentication and authorization.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/realm/package-summary.html">org.apache.shiro.realm</a> that return types with arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>></code></td> |
| <td class="colLast"><span class="strong">RealmFactory.</span><code><strong><a href="../../../../../org/apache/shiro/realm/RealmFactory.html#getRealms()">getRealms</a></strong>()</code> |
| <div class="block">Returns a collection of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> instances that will be used to construct |
| the application's SecurityManager instance.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.realm.activedirectory"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/realm/activedirectory/package-summary.html">org.apache.shiro.realm.activedirectory</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> |
| <caption><span>Classes in <a href="../../../../../org/apache/shiro/realm/activedirectory/package-summary.html">org.apache.shiro.realm.activedirectory</a> that implement <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/activedirectory/ActiveDirectoryRealm.html" title="class in org.apache.shiro.realm.activedirectory">ActiveDirectoryRealm</a></strong></code> |
| <div class="block">A <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> that authenticates with an active directory LDAP |
| server to determine the roles for a particular user.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.realm.jdbc"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/realm/jdbc/package-summary.html">org.apache.shiro.realm.jdbc</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> |
| <caption><span>Classes in <a href="../../../../../org/apache/shiro/realm/jdbc/package-summary.html">org.apache.shiro.realm.jdbc</a> that implement <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/jdbc/JdbcRealm.html" title="class in org.apache.shiro.realm.jdbc">JdbcRealm</a></strong></code> |
| <div class="block">Realm that allows authentication and authorization via JDBC calls.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.realm.jndi"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/realm/jndi/package-summary.html">org.apache.shiro.realm.jndi</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> |
| <caption><span>Methods in <a href="../../../../../org/apache/shiro/realm/jndi/package-summary.html">org.apache.shiro.realm.jndi</a> that return types with arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>></code></td> |
| <td class="colLast"><span class="strong">JndiRealmFactory.</span><code><strong><a href="../../../../../org/apache/shiro/realm/jndi/JndiRealmFactory.html#getRealms()">getRealms</a></strong>()</code> |
| <div class="block">Performs the JNDI lookups for each specified <a href="../../../../../org/apache/shiro/realm/jndi/JndiRealmFactory.html#getJndiNames()"><code>JNDI name</code></a> and returns all |
| discovered Realms in an ordered collection.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.realm.ldap"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/realm/ldap/package-summary.html">org.apache.shiro.realm.ldap</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> |
| <caption><span>Classes in <a href="../../../../../org/apache/shiro/realm/ldap/package-summary.html">org.apache.shiro.realm.ldap</a> that implement <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/ldap/AbstractLdapRealm.html" title="class in org.apache.shiro.realm.ldap">AbstractLdapRealm</a></strong></code> |
| <div class="block">A <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> that authenticates with an LDAP |
| server to build the Subject for a user.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/ldap/JndiLdapRealm.html" title="class in org.apache.shiro.realm.ldap">JndiLdapRealm</a></strong></code> |
| <div class="block">An LDAP <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> implementation utilizing Sun's/Oracle's |
| <a href="http://download-llnw.oracle.com/javase/tutorial/jndi/ldap/jndi.html">JNDI API as an LDAP API</a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.realm.text"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/realm/text/package-summary.html">org.apache.shiro.realm.text</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> |
| <caption><span>Classes in <a href="../../../../../org/apache/shiro/realm/text/package-summary.html">org.apache.shiro.realm.text</a> that implement <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/text/IniRealm.html" title="class in org.apache.shiro.realm.text">IniRealm</a></strong></code> |
| <div class="block">A <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> implementation that creates |
| <a href="../../../../../org/apache/shiro/authc/SimpleAccount.html" title="class in org.apache.shiro.authc"><code>SimpleAccount</code></a> instances based on |
| <a href="../../../../../org/apache/shiro/config/Ini.html" title="class in org.apache.shiro.config"><code>Ini</code></a> configuration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/text/PropertiesRealm.html" title="class in org.apache.shiro.realm.text">PropertiesRealm</a></strong></code> |
| <div class="block">A <a href="../../../../../org/apache/shiro/realm/text/TextConfigurationRealm.html" title="class in org.apache.shiro.realm.text"><code>TextConfigurationRealm</code></a> that defers all logic to the parent class, but just enables |
| <a href="http://java.sun.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util"><code>Properties</code></a> based configuration in addition to the parent class's String configuration.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/realm/text/TextConfigurationRealm.html" title="class in org.apache.shiro.realm.text">TextConfigurationRealm</a></strong></code> |
| <div class="block">A SimpleAccountRealm that enables text-based configuration of the initial User, Role, and Permission objects |
| created at startup.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"><a name="org.apache.shiro.web.mgt"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> in <a href="../../../../../org/apache/shiro/web/mgt/package-summary.html">org.apache.shiro.web.mgt</a></h3> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> |
| <caption><span>Constructors in <a href="../../../../../org/apache/shiro/web/mgt/package-summary.html">org.apache.shiro.web.mgt</a> with parameters of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/web/mgt/DefaultWebSecurityManager.html#DefaultWebSecurityManager(org.apache.shiro.realm.Realm)">DefaultWebSecurityManager</a></strong>(<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a> singleRealm)</code> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> |
| <caption><span>Constructor parameters in <a href="../../../../../org/apache/shiro/web/mgt/package-summary.html">org.apache.shiro.web.mgt</a> with type arguments of type <a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/web/mgt/DefaultWebSecurityManager.html#DefaultWebSecurityManager(java.util.Collection)">DefaultWebSecurityManager</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Realm</a>> realms)</code> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../../../../../org/apache/shiro/realm/Realm.html" title="interface in org.apache.shiro.realm">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/shiro/realm/class-use/Realm.html" target="_top">Frames</a></li> |
| <li><a href="Realm.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2004-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |
| |