org.mule.impl.security
Class MuleCredentials
java.lang.Object
org.mule.impl.security.MuleCredentials
- All Implemented Interfaces:
- UMOCredentials
- public class MuleCredentials
- extends Object
- implements UMOCredentials
MuleCredentials
can be used to read and set Mule user information
that can be stored in a message header.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN_DELIM
public static final String TOKEN_DELIM
- See Also:
- Constant Field Values
MuleCredentials
public MuleCredentials(String username,
char[] password)
MuleCredentials
public MuleCredentials(String username,
char[] password,
Object roles)
MuleCredentials
public MuleCredentials(String header)
throws EncryptionStrategyNotFoundException,
CryptoFailureException
getToken
public String getToken()
getUsername
public String getUsername()
- Specified by:
getUsername
in interface UMOCredentials
getPassword
public char[] getPassword()
- Specified by:
getPassword
in interface UMOCredentials
getRoles
public Object getRoles()
- Specified by:
getRoles
in interface UMOCredentials
createHeader
public static String createHeader(String username,
char[] password)
createHeader
public static String createHeader(String username,
String password,
String encryptionName,
UMOEncryptionStrategy es)
throws CryptoFailureException
- Throws:
CryptoFailureException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.