public class RepoServerMgmt extends java.lang.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(java.lang.String username)
Invalidate given users tickets
|
boolean |
isReadOnly()
Does the Repository allows writes or not ?
|
java.lang.String[] |
listUserNamesAll()
Get set of all unique usernames
|
java.lang.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()
RepoServerMgmtMBeanisReadOnly in interface RepoServerMgmtMBeanpublic int getTicketCountNonExpired()
RepoServerMgmtMBeangetTicketCountNonExpired in interface RepoServerMgmtMBeanpublic int getTicketCountAll()
RepoServerMgmtMBeangetTicketCountAll in interface RepoServerMgmtMBeanpublic int getUserCountNonExpired()
RepoServerMgmtMBeangetUserCountNonExpired in interface RepoServerMgmtMBeanpublic int getUserCountAll()
RepoServerMgmtMBeangetUserCountAll in interface RepoServerMgmtMBeanpublic java.lang.String[] listUserNamesNonExpired()
RepoServerMgmtMBeanlistUserNamesNonExpired in interface RepoServerMgmtMBeanpublic java.lang.String[] listUserNamesAll()
RepoServerMgmtMBeanlistUserNamesAll in interface RepoServerMgmtMBeanpublic int invalidateTicketsExpired()
RepoServerMgmtMBeaninvalidateTicketsExpired in interface RepoServerMgmtMBeanpublic int invalidateTicketsAll()
RepoServerMgmtMBeaninvalidateTicketsAll in interface RepoServerMgmtMBeanpublic void invalidateUser(java.lang.String username)
RepoServerMgmtMBeaninvalidateUser in interface RepoServerMgmtMBeanpublic int getMaxUsers()
RepoServerMgmtMBeangetMaxUsers in interface RepoServerMgmtMBeanCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.