GigaSpaces XAP 10.0.1 API

com.gigaspaces.security.directory
Class DefaultCredentialsProvider

java.lang.Object
  extended by com.gigaspaces.security.directory.CredentialsProvider
      extended by com.gigaspaces.security.directory.DefaultCredentialsProvider
All Implemented Interfaces:
Externalizable, Serializable

public class DefaultCredentialsProvider
extends CredentialsProvider

Since:
9.5.1
Author:
Niv Ingberg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.gigaspaces.security.directory.CredentialsProvider
PASSWORD_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
DefaultCredentialsProvider()
          Required for Externalizable
DefaultCredentialsProvider(String username, String password)
           
DefaultCredentialsProvider(UserDetails credentials)
           
 
Method Summary
 UserDetails getUserDetails()
           
 void initialize(Properties properties)
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCredentialsProvider

public DefaultCredentialsProvider()
Required for Externalizable


DefaultCredentialsProvider

public DefaultCredentialsProvider(UserDetails credentials)

DefaultCredentialsProvider

public DefaultCredentialsProvider(String username,
                                  String password)
Method Detail

initialize

public void initialize(Properties properties)
Overrides:
initialize in class CredentialsProvider

getUserDetails

public UserDetails getUserDetails()
Specified by:
getUserDetails in class CredentialsProvider

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class CredentialsProvider
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class CredentialsProvider
Throws:
IOException
ClassNotFoundException

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.