public class DefaultCredentialsProvider extends CredentialsProvider
PASSWORD_PROPERTY, USERNAME_PROPERTY
Constructor and Description |
---|
DefaultCredentialsProvider()
Required for Externalizable
|
DefaultCredentialsProvider(String username,
String password) |
DefaultCredentialsProvider(UserDetails credentials) |
Modifier and Type | Method and Description |
---|---|
UserDetails |
getUserDetails() |
void |
initialize(Properties properties) |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public DefaultCredentialsProvider()
public DefaultCredentialsProvider(UserDetails credentials)
public void initialize(Properties properties)
initialize
in class CredentialsProvider
public UserDetails getUserDetails()
getUserDetails
in class CredentialsProvider
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class CredentialsProvider
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class CredentialsProvider
IOException
ClassNotFoundException
Copyright © GigaSpaces.