|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rahas.impl.SAMLTokenIssuer
public class SAMLTokenIssuer
Issuer to issue SAMl tokens
Constructor Summary | |
---|---|
SAMLTokenIssuer()
|
Method Summary | |
---|---|
protected byte[] |
generateEphemeralKey(int keySize)
Create an ephemeral key |
java.lang.String |
getResponseAction(RahasData data)
Returns the wsa:Action of the response. |
org.apache.axiom.soap.SOAPEnvelope |
issue(RahasData data)
Create the response soap:Envelope for the given issue
request. |
void |
setConfigurationElement(org.apache.axiom.om.OMElement configElement)
Set the configuration element of this TokenIssuer. |
void |
setConfigurationFile(java.lang.String configFile)
Set the configuration file of this TokenIssuer. |
void |
setConfigurationParamName(java.lang.String configParamName)
Set the name of the configuration parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMLTokenIssuer()
Method Detail |
---|
public org.apache.axiom.soap.SOAPEnvelope issue(RahasData data) throws TrustException
TokenIssuer
soap:Envelope
for the given issue
request.
issue
in interface TokenIssuer
data
- A populated RahasData
instance
soap:Envelope
for the given issue
request.
TrustException
public java.lang.String getResponseAction(RahasData data) throws TrustException
wsa:Action
of the response.
getResponseAction
in interface TokenIssuer
data
- A populated RahasData
instance
wsa:Action
of the response
TrustException
protected byte[] generateEphemeralKey(int keySize) throws TrustException
TrustException
public void setConfigurationFile(java.lang.String configFile)
setConfigurationFile
in interface TokenIssuer
public void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
setConfigurationElement
in interface TokenIssuer
configElement
- OMElement
representing the configurationpublic void setConfigurationParamName(java.lang.String configParamName)
org.apache.axis2.description.Parameter
object available in
the via the messageContext when the TokenIssuer
is called.
setConfigurationParamName
in interface TokenIssuer
Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |