|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface STRParser
This interface describes a pluggable way of extracting credentials from SecurityTokenReference elements. The implementations are used by various processors.
Method Summary | |
---|---|
X509Certificate[] |
getCertificates()
Get the X509Certificates associated with this SecurityTokenReference |
Principal |
getPrincipal()
Get the Principal associated with this SecurityTokenReference |
PublicKey |
getPublicKey()
Get the PublicKey associated with this SecurityTokenReference |
byte[] |
getSecretKey()
Get the Secret Key associated with this SecurityTokenReference |
boolean |
isTrustedCredential()
Get whether the returned credential is already trusted or not. |
void |
parseSecurityTokenReference(Element strElement,
RequestData data,
WSDocInfo wsDocInfo,
Map<String,Object> parameters)
Parse a SecurityTokenReference element and extract credentials. |
Method Detail |
---|
void parseSecurityTokenReference(Element strElement, RequestData data, WSDocInfo wsDocInfo, Map<String,Object> parameters) throws WSSecurityException
strElement
- The SecurityTokenReference elementdata
- the RequestData associated with the requestwsDocInfo
- The WSDocInfo object to access previous processing resultsparameters
- A set of implementation-specific parameters
WSSecurityException
X509Certificate[] getCertificates()
Principal getPrincipal()
PublicKey getPublicKey()
byte[] getSecretKey()
boolean isTrustedCredential()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |