Package com.avoka.fc.core.service
Class UserAuthEventService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.CayenneService
-
- com.avoka.fc.core.service.UserAuthEventService
-
public class UserAuthEventService extends CayenneService
Provides methods related to UserAuthEvent instances.- Since:
- 4.3.1
- See Also:
UserAuthEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
LOG_NAME_USER_AUTH_EVENT
The name of the user auth event logger
-
Constructor Summary
Constructors Constructor Description UserAuthEventService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordUserAuthEvent(UserAccount userAccount, Portal portal, String type, Date timestamp, HttpServletRequest request, String sessionId)
Record a user authentication event.-
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Field Detail
-
LOG_NAME_USER_AUTH_EVENT
protected static final String LOG_NAME_USER_AUTH_EVENT
The name of the user auth event logger- See Also:
- Constant Field Values
-
-
Method Detail
-
recordUserAuthEvent
public void recordUserAuthEvent(UserAccount userAccount, Portal portal, String type, Date timestamp, HttpServletRequest request, String sessionId)
Record a user authentication event. This method performs a database commit.- Parameters:
userAccount
- the user (required)portal
- the portal that the event relates to (required)type
- the event type (one ofUserAuthEvent.EVENT_TYPES
)timestamp
- the time of the event (required)request
- the HTTP servlet request (optional)sessionId
- the HTTP session ID (optional)- Since:
- 4.3.1
-
-