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 Caller
public java.lang.String getCallerId()
getCallerId
in interface Caller
public boolean authenticateCaller()
true
.authenticateCaller
in interface Caller
public java.util.List<java.lang.String> getCredentialIds()
null
.getCredentialIds
in interface Caller
public boolean authenticateCredential(java.lang.String credentialId)
false
.authenticateCredential
in interface Caller
public java.lang.Object getConnectionMapping(java.lang.Object mappingKey)
null
.getConnectionMapping
in interface Caller
public void setConnectionMapping(java.lang.Object mappingKey, java.lang.Object mappingData)
setConnectionMapping
in interface Caller