public class SimpleAuthenticatedCaller extends java.lang.Object implements Caller
InternalRepository| Constructor and Description |
|---|
SimpleAuthenticatedCaller(java.lang.String callerId)
Constructs the instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticateCaller()
Always returns
true. |
boolean |
authenticateCredential(java.lang.String credentialId)
Always returns
false. |
java.lang.String |
getCallerId()
Returns the id used to construct this instance.
|
java.net.InetAddress |
getClientAddress()
Returns the loopback address.
|
java.lang.Object |
getConnectionMapping(java.lang.Object mappingKey)
Always returns
null. |
java.util.List<java.lang.String> |
getCredentialIds()
Always returns
null. |
void |
setConnectionMapping(java.lang.Object mappingKey,
java.lang.Object mappingData)
Does nothing.
|
public SimpleAuthenticatedCaller(java.lang.String callerId)
callerId - the id of this callerpublic java.net.InetAddress getClientAddress()
getClientAddress in interface Callerpublic java.lang.String getCallerId()
getCallerId in interface Callerpublic boolean authenticateCaller()
true.authenticateCaller in interface Callerpublic java.util.List<java.lang.String> getCredentialIds()
null.getCredentialIds in interface Callerpublic boolean authenticateCredential(java.lang.String credentialId)
false.authenticateCredential in interface Callerpublic java.lang.Object getConnectionMapping(java.lang.Object mappingKey)
null.getConnectionMapping in interface Callerpublic void setConnectionMapping(java.lang.Object mappingKey,
java.lang.Object mappingData)
setConnectionMapping in interface Caller