JSecurity

Uses of Interface
org.jsecurity.authc.AuthenticationInfo

Packages that use AuthenticationInfo
org.jsecurity.authc Core interfaces and exceptions concerning Authentication (the act of logging-in). 
org.jsecurity.authc.credential Support for validating credentials (such as passwords or X509 certificates) during authentication via the CredentialsMatcher interface and its supporting implementations. 
org.jsecurity.authc.pam Support for PAM, or Pluggable Authentication Modules, which is the capability to authenticate a user against multiple configurable (pluggable) modules (JSecurity calls these Realms). 
org.jsecurity.authz Core interfaces and exceptions supporting Authorization (access control). 
org.jsecurity.mgt Provides the master SecurityManager interface and a default implementation hierarchy for managing all aspects of JSecurity's functionality in an application. 
org.jsecurity.realm Components and sub-packages used in supporting the core Realm interface. 
org.jsecurity.realm.activedirectory Realms that acquire security data from a Microsoft Active Directory. 
org.jsecurity.realm.jdbc Realms that acquire security data from an RDBMS (Relational Database Management System) using the JDBC API. 
org.jsecurity.realm.ldap Realms that acquire security data from an LDAP (Lightweight Directory Access Protocol) server utilizing LDAP/Naming APIs. 
org.jsecurity.subject Components supporting the Subject interface, the most important concept in JSecurity's API. 
 

Uses of AuthenticationInfo in org.jsecurity.authc
 

Subinterfaces of AuthenticationInfo in org.jsecurity.authc
 interface Account
          An Account is a convenience interface that extends both AuthenticationInfo and AuthorizationInfo and represents authentication and authorization for a single account in a single Realm.
 interface MergableAuthenticationInfo
          An extension of the AuthenticationInfo interface to be implemented by classes that support merging with other AuthenticationInfo instances.
 

Classes in org.jsecurity.authc that implement AuthenticationInfo
 class SimpleAccount
          Simple implementation of the Account interface that contains principal and credential and authorization information (roles and permissions) as instance variables and exposes them via getters and setters using standard JavaBean notation.
 class SimpleAuthenticationInfo
          Simple implementation of the MergableAuthenticationInfo interface that holds the principals and credentials.
 

Methods in org.jsecurity.authc that return AuthenticationInfo
 AuthenticationInfo Authenticator.authenticate(AuthenticationToken authenticationToken)
          Authenticates a user based on the submitted authenticationToken.
 AuthenticationInfo AbstractAuthenticator.authenticate(AuthenticationToken token)
          Implementation of the Authenticator interface that functions in the following manner: Calls template doAuthenticate method for subclass execution of the actual authentication behavior.
protected abstract  AuthenticationInfo AbstractAuthenticator.doAuthenticate(AuthenticationToken token)
          Template design pattern hook for subclasses to implement specific authentication behavior.
 

Methods in org.jsecurity.authc with parameters of type AuthenticationInfo
 void SimpleAuthenticationInfo.merge(AuthenticationInfo info)
          Takes the specified info argument and adds its principals and credentials into this instance.
 void SimpleAccount.merge(AuthenticationInfo info)
          Merges the specified AuthenticationInfo into this Account.
 void MergableAuthenticationInfo.merge(AuthenticationInfo info)
          Merges the given AuthenticationInfo into this instance.
protected  void AbstractAuthenticator.notifySuccess(AuthenticationToken token, AuthenticationInfo info)
          Notifies any registered AuthenticationListeners that authentication was successful for the specified token which resulted in the specified info.
 void AuthenticationListener.onSuccess(AuthenticationToken token, AuthenticationInfo info)
          Callback triggered when an authentication attempt for a Subject has succeeded.
 

Uses of AuthenticationInfo in org.jsecurity.authc.credential
 

Methods in org.jsecurity.authc.credential with parameters of type AuthenticationInfo
 boolean SimpleCredentialsMatcher.doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)
          This implementation acquires the token's credentials (via getCredentials(token)) and then the account's credentials (via getCredentials(account)) and then passes both of them to the equals(tokenCredentials, accountCredentials) method for equality comparison.
 boolean CredentialsMatcher.doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)
          Returns true if the provided token credentials match the stored account credentials, false otherwise.
 boolean AllowAllCredentialsMatcher.doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)
          Returns true always no matter what the method arguments are.
protected  Object SimpleCredentialsMatcher.getCredentials(AuthenticationInfo info)
          Returns the account's credentials.
protected  Object HashedCredentialsMatcher.getCredentials(AuthenticationInfo info)
          Returns a Hash instance representing the already-hashed AuthenticationInfo credentials stored in the system.
 

Uses of AuthenticationInfo in org.jsecurity.authc.pam
 

Methods in org.jsecurity.authc.pam that return AuthenticationInfo
 AuthenticationInfo ModularAuthenticationStrategy.afterAllAttempts(AuthenticationToken token, AuthenticationInfo aggregate)
          Method invoked by the ModularAuthenticator signifying that all of its configured Realms have been consulted for account data, allowing post-proccessing after all realms have completed.
 AuthenticationInfo AtLeastOneSuccessfulModularAuthenticationStrategy.afterAllAttempts(AuthenticationToken token, AuthenticationInfo aggregate)
          Ensures that the aggregate method argument is not null and aggregate.
 AuthenticationInfo AbstractAuthenticationStrategy.afterAllAttempts(AuthenticationToken token, AuthenticationInfo aggregate)
          Simply returns the aggregate argument without modification.
 AuthenticationInfo ModularAuthenticationStrategy.afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo singleRealmInfo, AuthenticationInfo aggregateInfo, Throwable t)
          Method invoked by the ModularAuthenticator just after the given realm has been consulted for authentication, allowing post-authentication-attempt logic for that realm only.
 AuthenticationInfo AllSuccessfulModularAuthenticationStrategy.afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo info, AuthenticationInfo aggregate, Throwable t)
          Merges the specified info into the aggregate argument and returns it (just as the parent implementation does), but additionally ensures the following: if the Throwable argument is not null, re-throws it to immediately cancel the authentication process, since this strategy requires all realms to authenticate successfully.
 AuthenticationInfo AbstractAuthenticationStrategy.afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo singleRealmInfo, AuthenticationInfo aggregateInfo, Throwable t)
          Base implementation that will aggregate the specified singleRealmInfo into the aggregateInfo and then returns the aggregate.
 AuthenticationInfo ModularAuthenticationStrategy.beforeAllAttempts(Collection<? extends Realm> realms, AuthenticationToken token)
          Method invoked by the ModularAuthenticator signifying that the authentication process is about to begin for the specified token - called before any Realm is actually invoked.
 AuthenticationInfo FirstSuccessfulAuthenticationStrategy.beforeAllAttempts(Collection<? extends Realm> realms, AuthenticationToken token)
          Returns null immediately, relying on this class's merge implementation to return only the first info object it encounters, ignoring all subsequent ones.
 AuthenticationInfo AbstractAuthenticationStrategy.beforeAllAttempts(Collection<? extends Realm> realms, AuthenticationToken token)
          Simply returns new SimpleAuthenticationInfo();, which supports aggregating account data across realms.
 AuthenticationInfo ModularAuthenticationStrategy.beforeAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo aggregate)
          Method invoked by the ModularAuthenticator just prior to the realm being consulted for account data, allowing pre-authentication-attempt logic for that realm only.
 AuthenticationInfo AllSuccessfulModularAuthenticationStrategy.beforeAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo info)
          Because all realms in this strategy must complete successfully, this implementation ensures that the given Realm supports the given token argument.
 AuthenticationInfo AbstractAuthenticationStrategy.beforeAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo aggregate)
          Simply returns the aggregate method argument, without modification.
protected  AuthenticationInfo ModularRealmAuthenticator.doAuthenticate(AuthenticationToken authenticationToken)
          Attempts to authenticate the given token by iterating over the internal collection of Realms.
protected  AuthenticationInfo ModularRealmAuthenticator.doMultiRealmAuthentication(Collection<Realm> realms, AuthenticationToken token)
          Performs the multi-realm authentication attempt by calling back to a ModularAuthenticationStrategy object as each realm is consulted for AuthenticationInfo for the specified token.
protected  AuthenticationInfo ModularRealmAuthenticator.doSingleRealmAuthentication(Realm realm, AuthenticationToken token)
          Performs the authentication attempt by interacting with the single configured realm, which is significantly simpler than performing multi-realm logic.
protected  AuthenticationInfo FirstSuccessfulAuthenticationStrategy.merge(AuthenticationInfo info, AuthenticationInfo aggregate)
          Returns the specified aggregate instance if is non null and valid (that is, has principals and they are not empty) immediately, or, if it is null or not valid, the info argument is returned instead.
protected  AuthenticationInfo AbstractAuthenticationStrategy.merge(AuthenticationInfo info, AuthenticationInfo aggregate)
          Merges the specified info argument into the aggregate argument and then returns an aggregate for continued use throughout the login process.
 

Methods in org.jsecurity.authc.pam with parameters of type AuthenticationInfo
 AuthenticationInfo ModularAuthenticationStrategy.afterAllAttempts(AuthenticationToken token, AuthenticationInfo aggregate)
          Method invoked by the ModularAuthenticator signifying that all of its configured Realms have been consulted for account data, allowing post-proccessing after all realms have completed.
 AuthenticationInfo AtLeastOneSuccessfulModularAuthenticationStrategy.afterAllAttempts(AuthenticationToken token, AuthenticationInfo aggregate)
          Ensures that the aggregate method argument is not null and aggregate.
 AuthenticationInfo AbstractAuthenticationStrategy.afterAllAttempts(AuthenticationToken token, AuthenticationInfo aggregate)
          Simply returns the aggregate argument without modification.
 AuthenticationInfo ModularAuthenticationStrategy.afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo singleRealmInfo, AuthenticationInfo aggregateInfo, Throwable t)
          Method invoked by the ModularAuthenticator just after the given realm has been consulted for authentication, allowing post-authentication-attempt logic for that realm only.
 AuthenticationInfo AllSuccessfulModularAuthenticationStrategy.afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo info, AuthenticationInfo aggregate, Throwable t)
          Merges the specified info into the aggregate argument and returns it (just as the parent implementation does), but additionally ensures the following: if the Throwable argument is not null, re-throws it to immediately cancel the authentication process, since this strategy requires all realms to authenticate successfully.
 AuthenticationInfo AbstractAuthenticationStrategy.afterAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo singleRealmInfo, AuthenticationInfo aggregateInfo, Throwable t)
          Base implementation that will aggregate the specified singleRealmInfo into the aggregateInfo and then returns the aggregate.
 AuthenticationInfo ModularAuthenticationStrategy.beforeAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo aggregate)
          Method invoked by the ModularAuthenticator just prior to the realm being consulted for account data, allowing pre-authentication-attempt logic for that realm only.
 AuthenticationInfo AllSuccessfulModularAuthenticationStrategy.beforeAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo info)
          Because all realms in this strategy must complete successfully, this implementation ensures that the given Realm supports the given token argument.
 AuthenticationInfo AbstractAuthenticationStrategy.beforeAttempt(Realm realm, AuthenticationToken token, AuthenticationInfo aggregate)
          Simply returns the aggregate method argument, without modification.
protected  AuthenticationInfo FirstSuccessfulAuthenticationStrategy.merge(AuthenticationInfo info, AuthenticationInfo aggregate)
          Returns the specified aggregate instance if is non null and valid (that is, has principals and they are not empty) immediately, or, if it is null or not valid, the info argument is returned instead.
protected  AuthenticationInfo AbstractAuthenticationStrategy.merge(AuthenticationInfo info, AuthenticationInfo aggregate)
          Merges the specified info argument into the aggregate argument and then returns an aggregate for continued use throughout the login process.
 

Uses of AuthenticationInfo in org.jsecurity.authz
 

Subinterfaces of AuthenticationInfo in org.jsecurity.authz
 interface AuthorizingAccount
          Deprecated.  
 

Classes in org.jsecurity.authz that implement AuthenticationInfo
 class SimpleAuthorizingAccount
          Deprecated.  
 

Uses of AuthenticationInfo in org.jsecurity.mgt
 

Methods in org.jsecurity.mgt that return AuthenticationInfo
 AuthenticationInfo AuthenticatingSecurityManager.authenticate(AuthenticationToken token)
          Delegates to the wrapped Authenticator for authentication.
 

Methods in org.jsecurity.mgt with parameters of type AuthenticationInfo
protected  Subject DefaultSecurityManager.createSubject(AuthenticationToken token, AuthenticationInfo info)
          Creates a Subject instance for the user represented by the given method arguments.
protected  void DefaultSecurityManager.onSuccessfulLogin(AuthenticationToken token, AuthenticationInfo info)
           
protected  void DefaultSecurityManager.rememberMeSuccessfulLogin(AuthenticationToken token, AuthenticationInfo info)
           
 

Uses of AuthenticationInfo in org.jsecurity.realm
 

Methods in org.jsecurity.realm that return AuthenticationInfo
protected  AuthenticationInfo SimpleAccountRealm.doGetAuthenticationInfo(AuthenticationToken token)
           
protected abstract  AuthenticationInfo AuthenticatingRealm.doGetAuthenticationInfo(AuthenticationToken token)
          Retrieves authentication data from an implementation-specific datasource (RDBMS, LDAP, etc) for the given authentication token.
 AuthenticationInfo Realm.getAuthenticationInfo(AuthenticationToken token)
          Returns an account's authentication-specific information for the specified token, or null if no account could be found based on the token.
 AuthenticationInfo AuthenticatingRealm.getAuthenticationInfo(AuthenticationToken token)
           
 

Uses of AuthenticationInfo in org.jsecurity.realm.activedirectory
 

Methods in org.jsecurity.realm.activedirectory that return AuthenticationInfo
protected  AuthenticationInfo ActiveDirectoryRealm.buildAuthenticationInfo(String username, char[] password)
           
protected  AuthenticationInfo ActiveDirectoryRealm.queryForAuthenticationInfo(AuthenticationToken token, LdapContextFactory ldapContextFactory)
          Builds an AuthenticationInfo object by querying the active directory LDAP context for the specified username.
 

Uses of AuthenticationInfo in org.jsecurity.realm.jdbc
 

Methods in org.jsecurity.realm.jdbc that return AuthenticationInfo
protected  AuthenticationInfo JdbcRealm.buildAuthenticationInfo(String username, char[] password)
           
protected  AuthenticationInfo JdbcRealm.doGetAuthenticationInfo(AuthenticationToken token)
           
 

Uses of AuthenticationInfo in org.jsecurity.realm.ldap
 

Methods in org.jsecurity.realm.ldap that return AuthenticationInfo
protected  AuthenticationInfo AbstractLdapRealm.doGetAuthenticationInfo(AuthenticationToken token)
           
protected abstract  AuthenticationInfo AbstractLdapRealm.queryForAuthenticationInfo(AuthenticationToken token, LdapContextFactory ldapContextFactory)
          Abstract method that should be implemented by subclasses to builds an AuthenticationInfo object by querying the LDAP context for the specified username.
 

Uses of AuthenticationInfo in org.jsecurity.subject
 

Methods in org.jsecurity.subject with parameters of type AuthenticationInfo
protected  PrincipalCollection AbstractRememberMeManager.getIdentityToRemember(AuthenticationInfo info)
           
 void RememberMeManager.onSuccessfulLogin(AuthenticationToken token, AuthenticationInfo info)
           
 void AbstractRememberMeManager.onSuccessfulLogin(AuthenticationToken token, AuthenticationInfo info)
           
 void AbstractRememberMeManager.rememberIdentity(AuthenticationInfo successfullyAuthenticated)
           
 void AbstractRememberMeManager.rememberIdentity(AuthenticationToken submittedToken, AuthenticationInfo successfullyAuthenticated)
           
 


JSecurity

Copyright © 2004-2008 JSecurity.