com.hazelcast.security
Interface Credentials

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCredentials, UsernamePasswordCredentials

public interface Credentials
extends Serializable

Credentials is a container object for endpoint (Members and Clients) security attributes.

It is used on authentication process by LoginModules.


Method Summary
 String getEndpoint()
          Returns IP address of endpoint.
 String getPrincipal()
          Returns principal of endpoint.
 void setEndpoint(String endpoint)
          Sets IP address of endpoint.
 

Method Detail

getEndpoint

String getEndpoint()
Returns IP address of endpoint.

Returns:
endpoint address

setEndpoint

void setEndpoint(String endpoint)
Sets IP address of endpoint.

Parameters:
endpoint - address

getPrincipal

String getPrincipal()
Returns principal of endpoint.

Returns:
endpoint principal


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.