Class AuthenticationProviderDao

    • Constructor Detail

      • AuthenticationProviderDao

        public AuthenticationProviderDao()
    • Method Detail

      • 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.