org.apache.cxf.rs.security.common
Class SecurityUtils
java.lang.Object
org.apache.cxf.rs.security.common.SecurityUtils
public final class SecurityUtils
- extends Object
|
Method Summary |
static CallbackHandler |
getCallbackHandler(org.apache.cxf.message.Message message,
Class<?> callingClass)
|
static CallbackHandler |
getCallbackHandler(org.apache.cxf.message.Message message,
Class<?> callingClass,
String callbackProperty)
|
static X509Certificate[] |
getCertificates(org.apache.ws.security.components.crypto.Crypto crypto,
String user)
|
static org.apache.ws.security.components.crypto.Crypto |
getCrypto(org.apache.cxf.message.Message message,
String cryptoKey,
String propKey)
|
static String |
getPassword(org.apache.cxf.message.Message message,
String userName,
int type,
Class<?> callingClass)
|
static String |
getUserName(org.apache.cxf.message.Message message,
org.apache.ws.security.components.crypto.Crypto crypto,
String userNameKey)
|
static X509Certificate |
loadX509Certificate(org.apache.ws.security.components.crypto.Crypto crypto,
Element certNode)
|
static X509Certificate |
loadX509IssuerSerial(org.apache.ws.security.components.crypto.Crypto crypto,
Element certNode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509_KEY
public static final String X509_KEY
- See Also:
- Constant Field Values
X509_ISSUER_SERIAL
public static final String X509_ISSUER_SERIAL
- See Also:
- Constant Field Values
loadX509Certificate
public static X509Certificate loadX509Certificate(org.apache.ws.security.components.crypto.Crypto crypto,
Element certNode)
throws Exception
- Throws:
Exception
loadX509IssuerSerial
public static X509Certificate loadX509IssuerSerial(org.apache.ws.security.components.crypto.Crypto crypto,
Element certNode)
throws Exception
- Throws:
Exception
getCertificates
public static X509Certificate[] getCertificates(org.apache.ws.security.components.crypto.Crypto crypto,
String user)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
getCrypto
public static org.apache.ws.security.components.crypto.Crypto getCrypto(org.apache.cxf.message.Message message,
String cryptoKey,
String propKey)
throws IOException,
org.apache.ws.security.WSSecurityException
- Throws:
IOException
org.apache.ws.security.WSSecurityException
getUserName
public static String getUserName(org.apache.cxf.message.Message message,
org.apache.ws.security.components.crypto.Crypto crypto,
String userNameKey)
getPassword
public static String getPassword(org.apache.cxf.message.Message message,
String userName,
int type,
Class<?> callingClass)
getCallbackHandler
public static CallbackHandler getCallbackHandler(org.apache.cxf.message.Message message,
Class<?> callingClass)
getCallbackHandler
public static CallbackHandler getCallbackHandler(org.apache.cxf.message.Message message,
Class<?> callingClass,
String callbackProperty)
Apache CXF