Class RSSecurityUtils
java.lang.Object
org.apache.cxf.rs.security.common.RSSecurityUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CallbackHandlergetCallbackHandler(Message message, Class<?> callingClass) static CallbackHandlergetCallbackHandler(Message message, Class<?> callingClass, String callbackProperty) static X509Certificate[]getCertificates(org.apache.wss4j.common.crypto.Crypto crypto, String user) static org.apache.wss4j.common.crypto.Cryptostatic StringgetSignaturePassword(Message message, String userName, Class<?> callingClass) static StringgetUserName(Message message, org.apache.wss4j.common.crypto.Crypto crypto, String userNameKey) static StringgetUserName(org.apache.wss4j.common.crypto.Crypto crypto, String userName) static booleanstatic X509CertificateloadX509Certificate(org.apache.wss4j.common.crypto.Crypto crypto, Element certNode) static X509CertificateloadX509IssuerSerial(org.apache.wss4j.common.crypto.Crypto crypto, Element certNode)
-
Field Details
-
X509_CERT
- See Also:
-
X509_ISSUER_SERIAL
- See Also:
-
USE_REQUEST_SIGNATURE_CERT
- See Also:
-
-
Method Details
-
isSignedAndEncryptedTwoWay
-
loadX509Certificate
public static X509Certificate loadX509Certificate(org.apache.wss4j.common.crypto.Crypto crypto, Element certNode) throws Exception - Throws:
Exception
-
loadX509IssuerSerial
public static X509Certificate loadX509IssuerSerial(org.apache.wss4j.common.crypto.Crypto crypto, Element certNode) throws Exception - Throws:
Exception
-
getCertificates
public static X509Certificate[] getCertificates(org.apache.wss4j.common.crypto.Crypto crypto, String user) throws Exception - Throws:
Exception
-
getCrypto
public static org.apache.wss4j.common.crypto.Crypto getCrypto(Message message, String cryptoKey, String propKey) throws IOException, org.apache.wss4j.common.ext.WSSecurityException - Throws:
IOExceptionorg.apache.wss4j.common.ext.WSSecurityException
-
getUserName
-
getUserName
-
getSignaturePassword
public static String getSignaturePassword(Message message, String userName, Class<?> callingClass) throws org.apache.wss4j.common.ext.WSSecurityException - Throws:
org.apache.wss4j.common.ext.WSSecurityException
-
getCallbackHandler
public static CallbackHandler getCallbackHandler(Message message, Class<?> callingClass) throws org.apache.wss4j.common.ext.WSSecurityException - Throws:
org.apache.wss4j.common.ext.WSSecurityException
-
getCallbackHandler
public static CallbackHandler getCallbackHandler(Message message, Class<?> callingClass, String callbackProperty) throws org.apache.wss4j.common.ext.WSSecurityException - Throws:
org.apache.wss4j.common.ext.WSSecurityException
-