oracle.apps.fnd.applcore.attachments.model.entity.documents
Class BaseSigningScheme
java.lang.Object
oracle.apps.fnd.applcore.attachments.model.entity.documents.BaseSigningScheme
- All Implemented Interfaces:
- SigningScheme
- Direct Known Subclasses:
- CheckinSigningScheme, CollectionAddSigningScheme, GenericSigningScheme, UpdateSecurityGroupSigningScheme
public abstract class BaseSigningScheme
- extends java.lang.Object
- implements SigningScheme
Method Summary |
static java.lang.String |
appendToUrl(java.lang.String originalUrl,
java.util.Map.Entry entry)
|
static java.lang.String |
appendToUrl(java.lang.String originalUrl,
java.lang.String parameter,
java.lang.String value)
|
protected java.util.Map |
createEntryMap(java.lang.String id,
java.util.Map mechanismMap,
java.util.Map typeMap)
|
protected java.lang.String |
createSignature(java.util.Map map,
java.security.PrivateKey key)
|
java.util.Map |
getEntryMap()
|
SigningMechanism |
getSigningMechanism()
|
SigningType |
getSigningType()
|
void |
sign(oracle.stellent.ridc.model.DataBinder input,
java.security.PrivateKey key)
Using the key provided add an encrypted signature and associated
parameters to the input DataBinder so that valid request to the content
server will have their privileges elevated. |
java.lang.String |
sign(java.security.PrivateKey key)
Using the key provided generate an encrypted signature and associated
parameters to be appended to a url request so that valid request to the
content server will have their privileges elevated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.apps.fnd.applcore.attachments.model.entity.documents.SigningScheme |
getId |
BaseSigningScheme
public BaseSigningScheme()
getSigningMechanism
public SigningMechanism getSigningMechanism()
- Specified by:
getSigningMechanism
in interface SigningScheme
getSigningType
public SigningType getSigningType()
- Specified by:
getSigningType
in interface SigningScheme
getEntryMap
public java.util.Map getEntryMap()
- Specified by:
getEntryMap
in interface SigningScheme
- Returns:
- a map containing all the properties and their values of this
SigningScheme.
sign
public void sign(oracle.stellent.ridc.model.DataBinder input,
java.security.PrivateKey key)
- Description copied from interface:
SigningScheme
- Using the key provided add an encrypted signature and associated
parameters to the input DataBinder so that valid request to the content
server will have their privileges elevated.
- Specified by:
sign
in interface SigningScheme
- Parameters:
input
- contains the request that will be sent to the content
server. eg. a DOC_INFO requestkey
- the private key used to encrypt the signature
sign
public java.lang.String sign(java.security.PrivateKey key)
- Description copied from interface:
SigningScheme
- Using the key provided generate an encrypted signature and associated
parameters to be appended to a url request so that valid request to the
content server will have their privileges elevated.
- Specified by:
sign
in interface SigningScheme
- Returns:
- parameters to be appended to sign a url request
createSignature
protected java.lang.String createSignature(java.util.Map map,
java.security.PrivateKey key)
appendToUrl
public static java.lang.String appendToUrl(java.lang.String originalUrl,
java.util.Map.Entry entry)
appendToUrl
public static java.lang.String appendToUrl(java.lang.String originalUrl,
java.lang.String parameter,
java.lang.String value)
createEntryMap
protected java.util.Map createEntryMap(java.lang.String id,
java.util.Map mechanismMap,
java.util.Map typeMap)
Copyright © 2011 Oracle. All Rights Reserved.