oracle.apps.fnd.applcore.attachments.model.entity.documents
Class BaseSigningMechanism
java.lang.Object
oracle.apps.fnd.applcore.attachments.model.entity.documents.BaseSigningMechanism
- All Implemented Interfaces:
- SigningMechanism
- Direct Known Subclasses:
- DefaultSigningMechanism
public abstract class BaseSigningMechanism
- extends java.lang.Object
- implements SigningMechanism
Fields inherited from interface oracle.apps.fnd.applcore.attachments.model.entity.documents.SigningMechanism |
ADMIN_PERMISSION, CERTIFICATE_FINGER_PRINT_BINDER_ATTRIBUTE, CERTIFICATE_FINGER_PRINT_MAP_ATTRIBUTE, DELETE_PERMISSION, EXPIRES_BINDER_ATTRIBUTE, EXPIRES_MAP_ATTRIBUTE, PERMISSION_MAP_ATTRIBUTE, RANDOM_BINDER_ATTRIBUTE, RANDOM_MAP_ATTRIBUTE, READ_PERMISSION, UPDATE_PERMISSION, USER_MAP_ATTRIBUTE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
permission
protected java.lang.String permission
user
protected java.lang.String user
expiration
protected java.lang.Long expiration
randomValue
protected java.lang.Long randomValue
entryMap
protected java.util.Map entryMap
fingerPrint
protected java.lang.String fingerPrint
BaseSigningMechanism
public BaseSigningMechanism()
getRandomValue
public java.lang.Long getRandomValue()
- Specified by:
getRandomValue
in interface SigningMechanism
- Returns:
- a random value that is included in the signature
getUser
public java.lang.String getUser()
- Specified by:
getUser
in interface SigningMechanism
- Returns:
- the username of the user making the request. This is included in
the signature and compared with the user that is making the request to
the content server.
getExpiration
public java.lang.Long getExpiration()
- Specified by:
getExpiration
in interface SigningMechanism
- Returns:
- the time in milliseconds when a request expires. After this
time the content server will no longer elevate access privileges.
getEntryMap
public java.util.Map getEntryMap()
- Specified by:
getEntryMap
in interface SigningMechanism
- Returns:
- a map containing all the properties and their values of this
SigningMechanism.
getPermission
public java.lang.String getPermission()
- Specified by:
getPermission
in interface SigningMechanism
- Returns:
- the privilege requested. It will be one of: READ_PERMISSION,
UPDATE_PERMISSION, DELETE_PERMISSION or ADMIN_PERMISSION.
getFingerPrint
public java.lang.String getFingerPrint()
- Specified by:
getFingerPrint
in interface SigningMechanism
- Returns:
- the finger print of the public certificate. This identifies the
public certificate used to generate the signature.
Copyright © 2011 Oracle. All Rights Reserved.