Class AuthenticationProviderDao

java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.AuthenticationProviderDao

public class AuthenticationProviderDao extends AbstractDao
Provides a Security Authentication Provider Data Access Object (DAO) class.
Since:
3.5.0
See Also:
  • Constructor Details

    • AuthenticationProviderDao

      public AuthenticationProviderDao()
  • Method Details

    • getAuthenticationProviderForPK

      public AuthenticationProvider getAuthenticationProviderForPK(Object id)
      Return the AuthenticationProvider for the given object id.
      Parameters:
      id - the object id
      Returns:
      the AuthenticationProvider for the given object id
    • getOrderedAuthenticationProvider

      public List<AuthenticationProvider> getOrderedAuthenticationProvider(SecurityManager securityManager)
      Return the authentication ordered set authentication providers for the given security manager.
      Parameters:
      securityManager - the security manager
      Returns:
      the authentication ordered set authentication providers for the given security manager
    • getMaxSequenceNumber

      public int getMaxSequenceNumber(SecurityManager securityManager)
      Return the maximum authentication sequence number for the given security manager.
      Parameters:
      securityManager - the security manager
      Returns:
      the maximum authentication sequence number for the given security manager
    • getAuthenticationProviderBySequenceNumber

      public AuthenticationProvider getAuthenticationProviderBySequenceNumber(SecurityManager securityManager, int sequenceNumber)
      Return the authentication provider for the security manager and sequence number.
      Parameters:
      securityManager - the security manager
      sequenceNumber - the authentication sequence number
      Returns:
      the authentication provider for the security manager and sequence number.
    • getPreviousSequenceNumber

      public int getPreviousSequenceNumber(SecurityManager securityManager, int currentSequenceNumber)
      Return the previous sequence number for the given security manager and current sequence number.
      Parameters:
      securityManager - the security manager
      currentSequenceNumber - the current authentication sequence number
      Returns:
      the previous sequence number for the given security manager and current sequence number.