public class PassthruServerDetails extends Object
Contains the details of a server used for passthru authentication, the current status of the server and count of authentications done via this server.
Modifier and Type | Method and Description |
---|---|
InetAddress |
getAddress()
Return the server address
|
int |
getAuthenticationCount()
Return the authentication count for the server
|
long |
getAuthenticationDateTime()
Return the date/time of the last authentication by this server
|
String |
getDomain()
Return the domain name
|
String |
getName()
Return the server name
|
int |
hashCode()
Return the hash code for this object
|
void |
incrementAuthenticationCount()
Update the authentication count and date/time
|
boolean |
isOnline()
Return the online status of the server
|
void |
setDomain(String domain)
Set the domain that the offline server belongs to
|
void |
setOnline(boolean online)
Set the online status for the server
|
String |
toString()
Return the passthru server details as a string
|
public final String getName()
public final String getDomain()
public final InetAddress getAddress()
public final boolean isOnline()
public final int getAuthenticationCount()
public final long getAuthenticationDateTime()
public final void setDomain(String domain)
domain
- Stringpublic final void setOnline(boolean online)
online
- booleanpublic final void incrementAuthenticationCount()
public int hashCode()
Copyright © 2005–2017 Alfresco Software. All rights reserved.