public class RepoServerMgmt extends Object implements RepoServerMgmtMBean
Constructor and Description |
---|
RepoServerMgmt() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxUsers()
Get limit for max users
If number of non-expired logins is greater or equal to the limit then further logins will be prevented
otherwise valid login attempt will be permitted.
|
int |
getTicketCountAll()
Get count of all tickets
This may be higher than the user count, since a user can have more than one ticket/session
|
int |
getTicketCountNonExpired()
Get count of non-expired tickets
This may be higher than the user count, since a user can have more than one ticket/session
|
int |
getUserCountAll()
Get count of all users
This may be lower than the ticket count, since a user can have more than one ticket/session
|
int |
getUserCountNonExpired()
Get count of non-expired users
This may be lower than the ticket count, since a user can have more than one ticket/session
|
int |
invalidateTicketsAll()
Invalidate all tickets
Note: This operation can be clustered (ie.
|
int |
invalidateTicketsExpired()
Invalidate expired tickets
|
void |
invalidateUser(String username)
Invalidate given users tickets
|
boolean |
isReadOnly()
Does the Repository allows writes or not ?
|
String[] |
listUserNamesAll()
Get set of all unique usernames
|
String[] |
listUserNamesNonExpired()
Get set of unique non-expired usernames
|
void |
setAuthenticationService(AbstractAuthenticationService authenticationService) |
void |
setTransactionService(TransactionServiceImpl transactionService) |
public void setTransactionService(TransactionServiceImpl transactionService)
public void setAuthenticationService(AbstractAuthenticationService authenticationService)
public boolean isReadOnly()
RepoServerMgmtMBean
isReadOnly
in interface RepoServerMgmtMBean
public int getTicketCountNonExpired()
RepoServerMgmtMBean
getTicketCountNonExpired
in interface RepoServerMgmtMBean
public int getTicketCountAll()
RepoServerMgmtMBean
getTicketCountAll
in interface RepoServerMgmtMBean
public int getUserCountNonExpired()
RepoServerMgmtMBean
getUserCountNonExpired
in interface RepoServerMgmtMBean
public int getUserCountAll()
RepoServerMgmtMBean
getUserCountAll
in interface RepoServerMgmtMBean
public String[] listUserNamesNonExpired()
RepoServerMgmtMBean
listUserNamesNonExpired
in interface RepoServerMgmtMBean
public String[] listUserNamesAll()
RepoServerMgmtMBean
listUserNamesAll
in interface RepoServerMgmtMBean
public int invalidateTicketsExpired()
RepoServerMgmtMBean
invalidateTicketsExpired
in interface RepoServerMgmtMBean
public int invalidateTicketsAll()
RepoServerMgmtMBean
invalidateTicketsAll
in interface RepoServerMgmtMBean
public void invalidateUser(String username)
RepoServerMgmtMBean
invalidateUser
in interface RepoServerMgmtMBean
public int getMaxUsers()
RepoServerMgmtMBean
getMaxUsers
in interface RepoServerMgmtMBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.