Package com.mapr.security
Class ClusterServerTicketGeneration
- java.lang.Object
-
- com.mapr.security.ClusterServerTicketGeneration
-
public class ClusterServerTicketGeneration extends java.lang.ObjectClass to allow generation of local to the code ticket based on ServerKey received from CLDB for authentication of the services owned by the same cluster User. Also need to set ServerKey (Security.SetKey()) so it can be used for authentication of clients This class is a singleton
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerateTicketAndSetServerKey()voidgenerateTicketAndSetServerKey(java.lang.String clusterName)static ClusterServerTicketGenerationgetInstance()
-
-
-
Method Detail
-
getInstance
public static ClusterServerTicketGeneration getInstance()
-
generateTicketAndSetServerKey
public void generateTicketAndSetServerKey() throws java.io.IOException- Throws:
java.io.IOException
-
generateTicketAndSetServerKey
public void generateTicketAndSetServerKey(java.lang.String clusterName) throws java.io.IOException- Throws:
java.io.IOException
-
-