Package com.avoka.fc.core.dao
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:
AuthenticationProvider
,SecurityManager
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description AuthenticationProviderDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationProvider
getAuthenticationProviderBySequenceNumber(SecurityManager securityManager, int sequenceNumber)
Return the authentication provider for the security manager and sequence number.AuthenticationProvider
getAuthenticationProviderForPK(Object id)
Return the AuthenticationProvider for the given object id.int
getMaxSequenceNumber(SecurityManager securityManager)
Return the maximum authentication sequence number for the given security manager.List<AuthenticationProvider>
getOrderedAuthenticationProvider(SecurityManager securityManager)
Return the authentication ordered set authentication providers for the given security manager.int
getPreviousSequenceNumber(SecurityManager securityManager, int currentSequenceNumber)
Return the previous sequence number for the given security manager and current sequence number.-
Methods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
-
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
-
-
-
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 managersequenceNumber
- 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 managercurrentSequenceNumber
- the current authentication sequence number- Returns:
- the previous sequence number for the given security manager and current sequence number.
-
-