Uses of Class
org.apache.rahas.TrustException

Packages that use TrustException
org.apache.rahas   
org.apache.rahas.client   
org.apache.rahas.impl   
org.apache.rampart.util   
 

Uses of TrustException in org.apache.rahas
 

Methods in org.apache.rahas that throw TrustException
 void TokenStorage.add(Token token)
          Add the given token to the list.
 void SimpleTokenStore.add(Token token)
           
 org.apache.axiom.soap.SOAPEnvelope TokenCanceler.cancel(RahasData data)
          Cancel the token specified in the request.
static org.apache.axiom.om.OMElement TrustUtil.createBinarySecretElement(int version, org.apache.axiom.om.OMElement parent, java.lang.String type)
           
static org.apache.axiom.om.OMElement TrustUtil.createCancelRequest(java.lang.String tokenId, int version)
           
static org.apache.axiom.om.OMElement TrustUtil.createCancelTargetElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createClaims(int version, org.apache.axiom.om.OMElement parent, java.lang.String dialect)
           
static org.apache.axiom.om.OMElement TrustUtil.createComputedKeyAlgorithm(int version, org.apache.axiom.om.OMElement parent, java.lang.String algoId)
           
static org.apache.axiom.om.OMElement TrustUtil.createComputedKeyElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createEntropyElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createKeySizeElement(int version, org.apache.axiom.om.OMElement parent, int size)
           
static org.apache.axiom.om.OMElement TrustUtil.createKeyTypeElement(int version, org.apache.axiom.om.OMElement parent, java.lang.String type)
           
static org.apache.axiom.om.OMElement TrustUtil.createLifetimeElement(int version, org.apache.axiom.om.OMElement parent, long ttl)
           
static org.apache.axiom.om.OMElement TrustUtil.createLifetimeElement(int version, org.apache.axiom.om.OMElement parent, java.lang.String created, java.lang.String expires)
           
static org.apache.axiom.om.OMElement TrustUtil.createRenewTargetElement(int version, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMElement str)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestedAttachedRef(int version, org.apache.axiom.om.OMElement parent, java.lang.String refUri, java.lang.String refValueType)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestedProofTokenElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestedSecurityTokenElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestedTokenCanceledElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestedUnattachedRef(int version, org.apache.axiom.om.OMElement parent, java.lang.String refUri, java.lang.String refValueType)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestSecurityTokenElement(int version)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestSecurityTokenResponseCollectionElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestSecurityTokenResponseElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createRequestTypeElement(int version, org.apache.axiom.om.OMElement parent, java.lang.String value)
           
static org.apache.axiom.om.OMElement TrustUtil.createTokenTypeElement(int version, org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement TrustUtil.createValidateTargetElement(int version, org.apache.axiom.om.OMElement parent, org.apache.axiom.om.OMElement str)
           
protected  byte[] TrustUtil.generateEphemeralKey(byte[] reqEnt, byte[] respEnt, java.lang.String algo, int keySize)
          Create an ephemeral key
protected  byte[] TrustUtil.generateEphemeralKey(int keySize)
          Create an ephemeral key
static java.lang.String TrustUtil.getActionValue(int version, java.lang.String action)
           
 Token[] TokenStorage.getCancelledTokens()
          Return the list of CANCELLED tokens
 Token[] SimpleTokenStore.getCancelledTokens()
           
 TokenCanceler TokenRequestDispatcherConfig.getDefaultCancelerInstance()
           
 TokenIssuer TokenRequestDispatcherConfig.getDefaultIssuerInstace()
           
 TokenRenewer TokenRequestDispatcherConfig.getDefaultRenewerInstance()
           
 TokenValidator TokenRequestDispatcherConfig.getDefaultValidatorInstance()
           
 Token[] TokenStorage.getExpiredTokens()
          Return the list of EXPIRED tokens.
 Token[] SimpleTokenStore.getExpiredTokens()
           
 TokenIssuer TokenRequestDispatcherConfig.getIssuer(java.lang.String tokenType)
           
 Token[] TokenStorage.getRenewedTokens()
          Return the list of RENEWED tokens.
 Token[] SimpleTokenStore.getRenewedTokens()
           
 TokenRenewer TokenRequestDispatcherConfig.getRenewer(java.lang.String tokenType)
           
 java.lang.String TokenCanceler.getResponseAction(RahasData data)
          Returns the wsa:Action of the response.
 java.lang.String TokenIssuer.getResponseAction(RahasData data)
          Returns the wsa:Action of the response.
 Token TokenStorage.getToken(java.lang.String id)
          Returns the Token of the given id
 Token SimpleTokenStore.getToken(java.lang.String id)
           
 java.lang.String[] TokenStorage.getTokenIdentifiers()
          Return the list of all token identifiers.
 java.lang.String[] SimpleTokenStore.getTokenIdentifiers()
           
 TokenValidator TokenRequestDispatcherConfig.getValidator(java.lang.String tokenType)
           
 Token[] TokenStorage.getValidTokens()
          Return the list of ISSUED and RENEWED tokens.
 Token[] SimpleTokenStore.getValidTokens()
           
static java.lang.String TrustUtil.getWSTNamespace(int version)
           
static int TrustUtil.getWSTVersion(java.lang.String ns)
           
 org.apache.axiom.soap.SOAPEnvelope TokenRequestDispatcher.handle(org.apache.axis2.context.MessageContext inMsgCtx, org.apache.axis2.context.MessageContext outMsgCtx)
          Processes the incoming request and returns a SOAPEnvelope
 org.apache.axiom.soap.SOAPEnvelope TokenIssuer.issue(RahasData data)
          Create the response soap:Envelope for the given issue request.
static TokenRequestDispatcherConfig TokenRequestDispatcherConfig.load(org.apache.axiom.om.OMElement configElem)
           
static TokenRequestDispatcherConfig TokenRequestDispatcherConfig.load(java.lang.String configFilePath)
           
protected  void SimpleTokenStore.processTokenExpiry()
           
 org.apache.axiom.soap.SOAPEnvelope TokenRenewer.renew(RahasData data)
          Renew the token specified in the given request.
 void TokenStorage.update(Token token)
          Update an existing token.
 void SimpleTokenStore.update(Token token)
           
 org.apache.axiom.soap.SOAPEnvelope TokenValidator.validate(RahasData data)
          Validate the token specified in the given request.
 

Constructors in org.apache.rahas that throw TrustException
EncryptedKeyToken(java.lang.String id, org.apache.axiom.om.OMElement tokenElem, java.util.Date created, java.util.Date expires)
           
RahasData(org.apache.axis2.context.MessageContext inMessageContext)
          Create a new RahasData instance and populate it with the information from the request.
Token(java.lang.String id, org.apache.axiom.om.OMElement tokenElem, java.util.Date created, java.util.Date expires)
           
Token(java.lang.String id, org.apache.axiom.om.OMElement tokenElem, org.apache.axiom.om.OMElement lifetimeElem)
           
TokenRequestDispatcher(org.apache.axiom.om.OMElement config)
           
TokenRequestDispatcher(java.lang.String configFilePath)
           
TokenRequestDispatcher(TokenRequestDispatcherConfig config)
           
 

Uses of TrustException in org.apache.rahas.client
 

Methods in org.apache.rahas.client that throw TrustException
 boolean STSClient.cancelToken(java.lang.String issuerAddress, java.lang.String tokenId, java.lang.String action)
          Cancel a particular security token
 boolean STSClient.renewToken(java.lang.String tokenId, java.lang.String issuerAddress, org.apache.neethi.Policy issuerPolicy)
           
 Token STSClient.requestSecurityToken(org.apache.neethi.Policy servicePolicy, java.lang.String issuerAddress, org.apache.neethi.Policy issuerPolicy, java.lang.String appliesTo)
           
 boolean STSClient.validateToken(java.lang.String tokenId, java.lang.String issuerAddress, org.apache.neethi.Policy issuerPolicy)
           
 

Constructors in org.apache.rahas.client that throw TrustException
STSClient(org.apache.axis2.context.ConfigurationContext configCtx)
           
 

Uses of TrustException in org.apache.rahas.impl
 

Methods in org.apache.rahas.impl that throw TrustException
 org.apache.axiom.soap.SOAPEnvelope TokenCancelerImpl.cancel(RahasData data)
          Cancel the token specified in the request.
protected  byte[] SAMLTokenIssuer.generateEphemeralKey(int keySize)
          Create an ephemeral key
 java.lang.String SCTIssuer.getResponseAction(RahasData data)
           
 java.lang.String SAMLTokenIssuer.getResponseAction(RahasData data)
          Returns the wsa:Action of the response.
 java.lang.String TokenCancelerImpl.getResponseAction(RahasData data)
          Returns the wsa:Action of the response.
static byte[] TokenIssuerUtil.getSharedSecret(RahasData data, int keyComputation, int keySize)
           
static void TokenIssuerUtil.handleRequestedProofToken(RahasData data, int wstVersion, AbstractIssuerConfig config, org.apache.axiom.om.OMElement rstrElem, Token token, org.w3c.dom.Document doc)
           
 org.apache.axiom.soap.SOAPEnvelope SCTIssuer.issue(RahasData data)
          Issue a SecurityContextToken based on the wsse:Signature or wsse:UsernameToken

This will support returning the SecurityContextToken with the following types of wst:RequestedProof tokens: xenc:EncryptedKey wst:ComputedKey wst:BinarySecret (for secure transport)

 org.apache.axiom.soap.SOAPEnvelope SAMLTokenIssuer.issue(RahasData data)
           
static TokenCancelerConfig TokenCancelerConfig.load(org.apache.axiom.om.OMElement elem)
           
static SCTIssuerConfig SCTIssuerConfig.load(org.apache.axiom.om.OMElement elem)
           
static TokenCancelerConfig TokenCancelerConfig.load(java.lang.String configFilePath)
           
static SCTIssuerConfig SCTIssuerConfig.load(java.lang.String configFilePath)
           
 org.apache.axiom.soap.SOAPEnvelope SAMLTokenRenewer.renew(RahasData data)
           
 org.apache.axiom.soap.SOAPEnvelope SAMLTokenValidator.validate(RahasData data)
          Returns a SOAPEnvelope with the result of the validation.
 

Constructors in org.apache.rahas.impl that throw TrustException
SAMLTokenIssuerConfig(org.apache.axiom.om.OMElement elem)
          Create a SAMLTokenIssuer configuration using the give config element
SAMLTokenIssuerConfig(java.lang.String configFilePath)
          Create a SAMLTokenIssuer configuration with a config file picked from the given location.
 

Uses of TrustException in org.apache.rampart.util
 

Methods in org.apache.rampart.util that throw TrustException
static java.lang.String RampartUtil.getSecConvToken(RampartMessageData rmd, org.apache.ws.secpolicy.model.SecureConversationToken secConvTok)
          Obtain a security context token.