public class CredentialsProviderHelper extends Object
Constructor and Description |
---|
CredentialsProviderHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
appendCredentials(Properties properties,
CredentialsProvider credentialsProvider) |
static void |
appendMarshalledCredentials(Properties properties,
UserDetails userDetails,
CredentialsProvider credentialsProvider) |
static void |
clearCredentialsProperties(Properties properties) |
static Properties |
createLoginProperties(String username,
String password) |
static CredentialsProvider |
extractCredentials(Properties properties) |
static CredentialsProvider |
extractMarshalledCredentials(Properties properties,
boolean remove) |
static CredentialsProvider |
fromClassName(String className,
Properties properties) |
public static CredentialsProvider fromClassName(String className, Properties properties) throws Exception
Exception
public static Properties createLoginProperties(String username, String password)
public static void clearCredentialsProperties(Properties properties)
public static void appendCredentials(Properties properties, CredentialsProvider credentialsProvider)
public static CredentialsProvider extractCredentials(Properties properties)
public static void appendMarshalledCredentials(Properties properties, UserDetails userDetails, CredentialsProvider credentialsProvider) throws IOException
IOException
public static CredentialsProvider extractMarshalledCredentials(Properties properties, boolean remove)
Copyright © GigaSpaces.