Package io.jans.as.server.service.stat
Class StatService
- java.lang.Object
-
- io.jans.as.server.service.stat.StatService
-
@ApplicationScoped @Named public class StatService extends java.lang.Object- Author:
- Yuriy Zabrovarnyy
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACCESS_TOKEN_KEYstatic java.lang.StringID_TOKEN_KEYstatic java.lang.StringREFRESH_TOKEN_KEYstatic java.lang.StringUMA_TOKEN_KEY
-
Constructor Summary
Constructors Constructor Description StatService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()voidcreateBranch(java.lang.String branchDn, java.lang.String ou)java.lang.StringgetBaseDn()java.lang.StringgetNodeId()booleaninit()net.agkn.hll.HLLnewHll()voidreportAccessToken(io.jans.as.model.common.GrantType grantType)voidreportActiveUser(java.lang.String id)voidreportIdToken(io.jans.as.model.common.GrantType grantType)voidreportRefreshToken(io.jans.as.model.common.GrantType grantType)voidreportUmaToken(io.jans.as.model.common.GrantType grantType)voidupdateStat()
-
-
-
Field Detail
-
ACCESS_TOKEN_KEY
public static final java.lang.String ACCESS_TOKEN_KEY
- See Also:
- Constant Field Values
-
ID_TOKEN_KEY
public static final java.lang.String ID_TOKEN_KEY
- See Also:
- Constant Field Values
-
REFRESH_TOKEN_KEY
public static final java.lang.String REFRESH_TOKEN_KEY
- See Also:
- Constant Field Values
-
UMA_TOKEN_KEY
public static final java.lang.String UMA_TOKEN_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@PostConstruct public void create()
-
init
public boolean init()
-
updateStat
public void updateStat()
-
newHll
public net.agkn.hll.HLL newHll()
-
getNodeId
public java.lang.String getNodeId()
-
getBaseDn
public java.lang.String getBaseDn()
-
createBranch
public void createBranch(java.lang.String branchDn, java.lang.String ou)
-
reportActiveUser
public void reportActiveUser(java.lang.String id)
-
reportAccessToken
public void reportAccessToken(io.jans.as.model.common.GrantType grantType)
-
reportIdToken
public void reportIdToken(io.jans.as.model.common.GrantType grantType)
-
reportRefreshToken
public void reportRefreshToken(io.jans.as.model.common.GrantType grantType)
-
reportUmaToken
public void reportUmaToken(io.jans.as.model.common.GrantType grantType)
-
-