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.String
ACCESS_TOKEN_KEY
static java.lang.String
ID_TOKEN_KEY
static java.lang.String
REFRESH_TOKEN_KEY
static java.lang.String
UMA_TOKEN_KEY
-
Constructor Summary
Constructors Constructor Description StatService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create()
void
createBranch(java.lang.String branchDn, java.lang.String ou)
java.lang.String
getBaseDn()
java.lang.String
getNodeId()
boolean
init()
net.agkn.hll.HLL
newHll()
void
reportAccessToken(io.jans.as.model.common.GrantType grantType)
void
reportActiveUser(java.lang.String id)
void
reportIdToken(io.jans.as.model.common.GrantType grantType)
void
reportRefreshToken(io.jans.as.model.common.GrantType grantType)
void
reportUmaToken(io.jans.as.model.common.GrantType grantType)
void
updateStat()
-
-
-
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)
-
-