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 Object
- Author:
- Yuriy Zabrovarnyy
-
-
Field Summary
Fields Modifier and Type Field Description static StringACCESS_TOKEN_KEYstatic StringID_TOKEN_KEYstatic StringREFRESH_TOKEN_KEYstatic StringUMA_TOKEN_KEY
-
Constructor Summary
Constructors Constructor Description StatService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()voidcreateBranch(String branchDn, String ou)StringgetBaseDn()StringgetNodeId()booleaninit()net.agkn.hll.HLLnewHll()voidreportAccessToken(io.jans.as.model.common.GrantType grantType)voidreportActiveUser(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 String ACCESS_TOKEN_KEY
- See Also:
- Constant Field Values
-
ID_TOKEN_KEY
public static final String ID_TOKEN_KEY
- See Also:
- Constant Field Values
-
REFRESH_TOKEN_KEY
public static final String REFRESH_TOKEN_KEY
- See Also:
- Constant Field Values
-
UMA_TOKEN_KEY
public static final 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 String getNodeId()
-
getBaseDn
public String getBaseDn()
-
reportActiveUser
public void reportActiveUser(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)
-
-