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 String
ACCESS_TOKEN_KEY
static String
ID_TOKEN_KEY
static String
REFRESH_TOKEN_KEY
static 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(String branchDn, String ou)
String
getBaseDn()
String
getNodeId()
boolean
init()
String
monthString(Date now)
net.agkn.hll.HLL
newHll()
void
reportAccessToken(io.jans.as.model.common.GrantType grantType)
void
reportActiveUser(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 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)
-
-