wls:/offline> connect("weblogic","<<password>>","t3://localhost:<<admin server port>>")
Connecting to t3://localhost:<<port>> with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "osb_test_domain".
 
Warning: An insecure protocol was used to connect to the server.
To ensure on-the-wire security, the SSL port or Admin port should be used instead.
 
wls:/base_domain/serverConfig/> beginWSMSession()
Location changed to domainRuntime tree. This is a read-only tree
with DomainMBean as the root MBean.
For more help, use help('domainRuntime')
 
Session started for modification.
 
wls:/base_domain/serverConfig/> listWSMTokenIssuerTrustDocuments(detail='true')
 
List of Token Issuer Trust Documents in the Repository:
 
Name         : oracle-default
Display Name : i18n:oracle.wsm.resources.resdesc.ResourceDescriptionBundle_property-TokenIssuerTrust_displayName
Status       : DOCUMENT_STATUS_COMMITED
 
Name         : tokenissuertrust-WLS-osb_test_domain
Display Name : i18n:oracle.wsm.resources.resdesc.ResourceDescriptionBundle_property-TokenIssuerTrust_displayName
Status       : DOCUMENT_STATUS_COMMITED
 
wls:/base_domain/serverConfig/> selectWSMTokenIssuerTrustDocument('tokenissuertrust-WLS-osb_test_domain')
 
Token Issuer Trust document named "tokenissuertrust-WLS-base_domain" selected in the session.
 
wls:/base_domain/serverConfig/> displayWSMTokenIssuerTrust('dns.jwt')
 
List of trusted issuers for this type:
 
www.oracle.com
 
wls:/base_domain/serverConfig/> setWSMTokenIssuerTrust('dns.jwt','mycompany.co.uk',[])
 
New issuer - "mycompany.co.uk" added to the document.
The issuer and trusted DN values have been updated successfully.

wls:/base_domain/serverConfig/> displayWSMTokenIssuerTrust('dns.jwt')

List of trusted issuers for this type:

www.oracle.com
mycompany.co.uk

wls:/base_domain/serverConfig/> commitWSMSession()

The tokenissuertrust tokenissuertrust-WLS-base_domain is valid.
Updating tokenissuertrust tokenissuertrust-WLS-base_domain in repository.

Session committed successfully.

wls:/base_domain/serverConfig/>exit()

 

Note: If you use OAM for SSO then this issuer is specified in,

http://host:port/oamconsole

Mobile Security> Mobile OAuth Services    > Default Domain > Services Profiles > OAuth Service Profile.
Look in section Attributes,

jwt1