Writing a TokenIssuanceModule Class
4-10 Developers Guide for Oracle Access Manager and Oracle Security Token Service
Table 4–1 New Custom Token Elements
Element Description
Token Type Name The unique name you choose for this custom token. For
example: email_token
Note: After you save a new custom token configuration, you cannot edit this name.
Default Token URI The URI for this custom token. This URI can then be used in
the RST to request that a custom token of this type should be issued. For the example in this chapter, the value would be:
oracle.security.fed.sts.customtoken.email XML Element Name
The name you decide on, which will be associated with the Token Type Name. For example:
email If you specify email as the XML Element Name, each time the
element name, email, appears in an incoming token it will be associated with the Token Type Name in this case email_
token.
Note: Minimally, you need either an XML Element Name or Binary Security Token Type.
Validation Classname The name of the custom token validation class that you made
available to Oracle Security Token Service. For example: oracle.security.fed.sts.tpe.providers.email.EmailToken
ValidatorModuleImpl Note: Minimally, you need either an issuance class name or
validation class name, depending on whether you want to issue or validate a custom token.
XML Element Namespace The namespace of the custom token element name. For
example: http:email.example.com
Issuance Classname The name of the custom token issuance class that you made
available to Oracle Security Token Service. For example: oracle.security.fed.sts.tpe.providers.email.EmailToken
IssuerModuleImpl Note: Minimally, you need either an Issuance classname or
Validation classname, depending on whether you want to issue or validate a custom token.
Binary Security Token Type Enables the class to validate a custom token sent in as a
BinarySecurityToken. The ValueType of the BinarySecurityToken for this custom
token. If Oracle Security Token Service receives a Binary Security Token with this valuetype, it will be forwarded to this
custom tokens Validation class for validation.
Validation Attributes This section enables you to add or remove validation
attributes. The table displays existing validation attributes, if any. For this example:
■
Attribute Name: testsetting
■
Attribute Type: String Note: You will add a value to the attribute when creating a
Token Validation Template.