Wednesday
Apr092014

I fix my dev environment for fun @%$#

Thursday
Jan092014

The Best New WebBrowser

Ok this might be a catchy headline but I have been stating this for sometime and now I have decided to call it out in print.

Your iPhone and Android device, why you say? Well it is because most of your always connected devices have a new type of 'smart hyperlink' © which equals your connected application you downloaded or have pre-loaded on your device.

The popular format to transmit content back and forth to your new browser is JSON, how this data is displayed is dependent on your specific browsers. An example would be Google Calendar this specific browser presents data in one specific view and you smart hyperlink © when clicked launches that application or smart browser and displays the data in a known a familiar calendar view to you.

People can say well there are many games that do not need to be connected after downloaded to be played, which is correct which I say these games are only cached smart interactive views which if you have angry birds or other applications see that the cached games gets updated almost daily.

So this makes me very excited about the future and why I have been into mobile handhelds since the Palm 7 with the very cool flip antenna which for some reason was not a chic magnet.

Monday
Jan062014

The new peer programming (Google Glass)

I have to admit I got this idea when watching a video example of a instructor showing his method to draw a picture. The video was from the perspective from his eye since he was recording from Google Glass.
My idea is to use Google Glass with developers remote and local blended. This is only one way how an experienced developer may be remote and the junior onsite developers can be local working more direct with the client and giving solid help from the more senior developer who is remote.
Another way could be a local onsite senior developer with a group of offshore working to produce the solution under the direction of the onsite developer lead.
I think this style of development has a potential to work and here is why I think it will, I have with moderate success worked with voip and screen share and another developer, but something always seemed missing and I would get frustrated not knowing is the developer working or stuck etc.. There is something about seeing the constant view of what the other person is looking at that keeps it more connected and real that glass will bring to just voice and screen share. I understand you have to look away for a break or check email on another screen, these unannounced pauses and quite periods can causes a disconnect between the members of the joint session. I think this more connected interaction with glass and hangouts will add to the productivity and might be that missing piece that I get when doing the tradditional screen share and voip!
Now my disclaimer! you have to have a team that can work in peer programming environment, in my tenure I have come across multiple personalities and team dimensions and with out a peer programming team this will not work.
I could see this being a bigger idea where a collective group of ace developers offer time packages to companies for this scheduled peer remote mentoring. To think about it even at $1500 for google glass, it could be passed around to multiple developers on different days. Maybe this could be a scheduling and bidding service where the expert mentor and his reviews can command big bucks to tackle your hard coding problems??

Thursday
Dec192013

WebCenter Portal an Agile Approach (Continuous Integration) 

To recap from my prior post, we have our teams working within their own JDeveloper Applications testing their code locally through the ide built in tools. Alone this can produce “works on my machine” syndrome, so how do we eliminate this syndrome? Through Continuous Integration where we fail fast. I am not going to explain the merits or each nuance to implement CI in this post, I will be showing the project setup and how to get the applications building and running for our Acme Portal Project using Hudson and working with their dependent applications.
A quick explanation of Continuous Integration (CI) it is a software development practice where members of a team integrate their work frequently leading to multiple integrations per day, in a automated build, including running tests to detect integration errors as quickly as possible, verifying each team member’s contribution and integration quickly in a fail fast manner for the entire portal application.
I want to also comment that Hudson Server can be used as a Deployment engine too, not covered in this post but planned for future posts.
Below is the end result of our applications building is a screenshot of our now healthy Portal Project with all the applications (Hudson Projects) building and integrating amongst themselves.

 

 

I want to also comment that Hudson Server can be used as a Deployment engine too, not covered in this post but planned for future posts.
Below is the end result of our applications building is a screenshot of our now healthy Portal Project with all the applications (Hudson Projects) building and integrating amongst themselves.

The above picture is the project dependency tree; I will go into detail on how I have them setup to build and their dependencies. The order in which I describe them is the order that each application is built when starting from scratch and is the path of the dependency tree.  *** Be carful naming ambiguity ***, 1 JDeveloper application maps to 1 Hudson Project and a JDeveloper application can have multiple JDeveloper projects encapsulated, which will just cause more ant tasks in multiple Ant files getting called within the 1 Hudson Project.

1. libs – this project is our repository of third party libraries used in the applications, since JDeverloper and ojdeploy is using Ant I will not involve maven for dependency management. New ADF Oracle has started supplying maven dependencies but this is not the case for WebCenter yet. An example of a third party jar in our project is the commons-lang3-3.1.jar. This configuration says to watch for added jars and if updated, download and then trigger the first lowest application on dependency tree to start to build.

Configuration settings:

  • Job Name: libs
  • Repository: svn/portal/trunk/libs   [I am set up to build trunk]
  • Pool SCM: * * * * *  [check every minute]
  • Build other jobs: CommonsProject [Commons is the lowest application that needs this application] 
  • Block build when downstream job is building:true
  • Block build when upstream job is building:true
  • Clean workspace before build:true [no dirty leftover files]

2. CommonsProject – this project is triggered when new code is checked in or when a new jar is added to the library project.

Configuration settings:

  • Job Name: CommonsProject
  • Repository: svn/portal/trunk/CommonsProject  [I am set up to build trunk]
  • Pool SCM: * * * * *  [check every minute]
  • Build after other jobs are built: libs
  • Build other jobs: BackendEndProject [this is the above the dependency tree for our projects] 
  • Build after other jobs are built:libs
  • Block build when downstream job is building:true
  • Block build when upstream job is building:true
  • Clean workspace before build:true [no dirty leftover files]

3. BackendEndProject – this project is triggered when new code is checked in or when the CommonsProject is built.

Conifguration setting:

  • Job Name: BackendEndProject
  • Repository: svn/portal/trunk/ BackendEndProject [I am set up to build trunk]
  • Pool SCM: * * * * *  [check every minute]
  • Build other jobs: ComponentsProject [this is the above the dependency tree for our projects] 
  • Build after other jobs are built: CommonsProject
  • Block build when downstream job is building:true
  • Block build when upstream job is building:true
  • Clean workspace before build:true [no dirty leftover files]

4. ComponentsProject– this project is triggered when new code is checked in or when the BackendEndProject is built.

Configuration settings:

  • Job Name: ComponentsProject
  • Repository: svn/portal/trunk/ ComponentsProject [I am set up to build trunk]
  • Pool SCM: * * * * *  [check every minute]
  • Build after other jobs are built: BackendEndProject
  • Build other jobs: AcmeProject [this is the top Parent that puts all the projects together for the Portal] 
  • Block build when downstream job is building:true
  • Block build when upstream job is building:true
  • Clean workspace before build:true [no dirty leftover files]

5. AcmePortal– this project is triggered when new code is checked in or when the ComponentsProject is built.

Configuration settings:

  • Job Name: AcmePortal
  • Repository: svn/portal/trunk/ AcmePortal [I am set up to build trunk]
  • Pool SCM: * * * * *  [check every minute]
  • Build after other jobs are built: ComponentsProject
  • Block build when downstream job is building:true
  • Clean workspace before build:true [no dirty leftover files]

The above configurations ensure that our dependencies are harmonized and that our code will fail fast when they are not, unit testing and Code Quality Metrics are generated for management and team members to review.

The above picture showing a failed build touches on this fail fast paradigm that I have eluded too in this post. This practice when done correctly encourages frequent check-ins to ensure your code is working with others, it also fosters when managed correctly a group think/mentoring when a failure occurs where the team addresses the issues from the broken build. 

 

The above picture is to demonstrate one of the type of reports that can be available to the team and management.  Unit testing and reporting is an important topic and will have its own future post devoted to it.

 

 

 

Sunday
Oct272013

WebCenter Portal an Agile Approach

Introduction

Let’s first lay out the initial vision for our Ace Portal team. We just parachuted into the Acme Company who recently purchased Oracle WebCenter Portal. They know they need a Portal since Oracle packaged it with their Enterprise Corporate database purchase. The first step to our mission is to create an initial setup of a Portal in an agile development environment. This allows us to gather requirements, deploy small sets of Portlets in a timely fashion, and effectively allow the client to provide feedback throughout the process. A note to all Agile purists (if there is such a thing): this approach may not follow a traditional Agile methodology, however this is how I've successfully deployed WebCenter Portal projects in the past.

Our team will consist of a multifaceted talented set of team members. Titles and skill sets are as follows:

  • User Experience (UX) members: ADF Skins developer with CSS3, ADF template, and WCAG/508/ADA experience.
  • Middle-tier developers: JSF/ADF components and basic Java bean development experience.
  • Back-end developers: ADF business components, database and services skills.
  • Content Management Dev/Administrator: A limited license is usually given by Oracle to WCC, however the company might already have an existing CMS in place (i.e. Documentum).
  • Administrator Software Configuration Management (SCM): WebCenter Portal Administrator, Oracle Metadata Repository (MDS), Jenkins and ojdeploy Ant task experience.

Now we need to setup our development environment with a project layout that will allow our team to work independently while still deploying on an integrated domain. We must also remember that our Acme client may not have the necessary portal knowledge to effectively communicate the needs of the project’s look-and-feel and portlet details. Therefore, our development team will be deploying various versions in order to receive useful feedback from the client. The client has hinted about having an application that will work with this new database they just bought from Oracle and something like a stock ticker for the CFO. Project Configuration, Continuous Integration, and Build & Deploy systems are needed simultaneously. I like to refer to this group as "The Agile Landscape":

Project Configuration

Let’s get started by splitting out projects into our areas of concern. Guess what? They each match up perfectly with our team setup (this is by design).

Project Hierarchy Diagram

Project Descriptions

UX_Project: [JDeveloper ADF Skin] skins, javascript (minimal if needed) and Sprites (images) - images as we know are frowned upon. Note: I am not sure why the ADF Skin Editor cannot run inside JDeveloper 11.1.1.7. JDeveloper 11.1.2 * is required currently.
Component_Project: [JDeveloper Fusion Web Application ADF] This project will consist of taskflows and simple Java beans. This is where the controller layer lies for our portlets, and also includes some business logic. The secret sauce cannot be given out - each project is different. I like to try and keep the bounded task flows encapsulated into their own flow logic. The approach is to pass all of the parameters into the taskflow - even requests and session values. At first it might be difficult to figure out what logic can be reused across these taskflows (let alone the entire corporate landscape). Keep in mind, however, that as we grow our portlets and taskflows - they will naturally group into categories which we can collect in multiple component projects after multiple iterations.
Commons_Project: [JDeveloper Generic Application] Having a placeholder encourages re-use so I have created a commons project. Note: This is not required for every project.
BackEnd_Project: [JDeveloper Fusion Web Application ADF] This project will house the data components for the databases and web services. This can also include a custom content repository or a WebCenter Content connection. To start I created a simple POJO data-bound control.
Master_Project: [JDeveloper WebCenter Portal Framework Application Project] This will be the collection of every other project as shared resource jars. MDS Configurations and Site Resources will be included here (i.e. navigation, security, site templates, etc.). We will name this Master WebCenter Framework Portal Project: ‘AcmePortal’. This is instrumental for managing site resources that can be updated without a complete redeploy of the entire Portal.

JDeveloper Project Screenshots

UX Project

Components Project

Commons Project

BackEnd Project

Master Project

Conclusion

This is a high-level walkthrough of the layout for our projects and assets. This allows our team to work simultaneously in an agile environment to create a portal and answer the business needs for the Acme Company. It is absolutely imperative that these separate projects are continuously growing and dependencies are consistently updated in order to encourage a fail-fast integration approach. Stay tuned for my next post which will describe how to seamlessly build and integrate all of these projects together. The image below displays the simple Acme Portal using a single portlet on the home page to show each piece working together.
Tuesday
Oct012013

OOW2013

 

 

 

WCP = Single pane of glass for end users.
1. Responsive design templates, and ability to create specific templates for targeted mobile device page variant is key for targeting.

WCC = mobile
1. Has mobile applications for iPhone and android.
2. New responsive traditional web UI to edit documents.
3. Ability to have a more personal content management than can share, meaning very smooth workflow and collaboration of content before going live.
4. Web UI looks like dropbox, oracle now has document service in the cloud probably reason for Dropbox look.
5. On premise WCC syncs with the cloud, nice idea to do on premise then when approved deploy to cloud service for sharing let oracle handle the load i.e. CDN for your documents.

ADF , Meta Data Service MDS*, customizations and extensions
1. Layered customizations
2. Can do personalizations for end user.
3. Repository = File classpath or DB
4. Context gets setup to get from MDS get merged XML to display to user.
5. Patch safe since customizations are separate from base xml
6. Sandbox for customizations fork of the main line i.e context were others can hare too.
7. MDS labels to publish a set of changes to production (customization set)
8. Good idea for layers: Global,Site,Role,User,country,organization,internal/external,job role.
9. MDS ties to ADF resource bundles for internationalization.
10. DTRT api to allow run time customizations.

Building ADF team the journey
1.bit.ly/ADFTour
2.oracle.com/jdev
3.oracle fusion developer guide
4.oracle.com/usableapps. ***

Team roles:
Adf team lead
Add developer
Skin developer
Database developer
Java expert
JSF expert

Types of teams due to adf shared libraries.
UI teams (mobile)
Services
Soa layer

Cloud Developer Services (big push for oracle)
Make sure ADFLogger is being used.
support note 971256.1 to get add source code.

Reuse:
1. Create base classes
2. Develop templates
3. Build declarative components
4. Distribute via ADF libraries
5. Agree upon - and enforce naming conventions

Adf YouTube channel:YouTube.com/user/ADFInsiderEssentials

Architecture questions:
Team size,skill capability
One vs multiple appa
One vs multi-page apps
Level of software reuse
Sequential vs parallel development
Application customization
Legacy application modernization
Integrating mobile

Webcenter Portal direction:
Multi-Channel,Consumerization,Cloud -> road map
Focus- Worker Productivity and Mobility.

Targeting devices is the key push for webcenter portal.
Native application through rest services.

ADF adaptive thoughts:
1.Simplicity vs flexibility the conundrum for ADF.
2. El expression to access passed in variables from the bounded taskflow to generify page and BC components like names of data controls etc...
3. DynamicComponent is out of the box dynamic component allows for CRUD without having to do all the messy coding works with many different components through tree binding like a drop down box. Attribute model is key DC to show hide read only based on value of a field business logic component is the main object for that.
4. oracle.job.client.ELEnvInfoProvider and EL to resolve the connection have a bounded taskflow pass it in blog articles on this at groundside blog

Adf best practices:
1. Pageflow and Page templates always use them.
2.Extend base classes def base classes not needed too, good for logging and transaction times for BC components.
3. Always define facets for developer to add too.
4.Declarative components are nice to extend the functionality of a common reused components.
5. Example date component that is declarative then changing common date changed in one place because its declarative instead of the base component and changing the format in 90 places.
6. Always work with the grain of the framework. Going against the framework you will fail figure out how it is done.
7. Have to work with version control inside JDeveloper do to all the files that go with making one change.
8. 11.2.* does not have git support
9. Without maven check in shared libraries in approved repository of svn for different component developers to checkout and reference in their workspace.
10. ADFLogger runtime can be changed.
11. Always start with creating build structure and building of the modularizations and automate the building or you will FAIL .

Scale WCP
1. Big hit with numerous adf components on a page.
2. Jascript partitioning.
3. Multiple ADM take up database connection, adm does not release connection it has its own pool consider webservices with good SLA
4. Definitely need to tune webcenter portal out of box is no good.
5. Client_state_max_tokens lower
6.MDS cache needs to be increased usually purge MDS too.
7. CDN for adf http://www.ateam-oracle.com/cdn-support-in-adf-faces-11-1-1-6/
8. Oracle OATS for testing add


'My Take' Portal has to be more than a view in a browser has to evolve to a single pane that is contextual and device aware. The desktop is only one of many devices phone,tablets etc...(TV).

My own quick notes that I want to go back too.
Links
Bit.ly/jsf-lifecycle

https://groups.google.com/forum/?hl=en#!forum/adf-methodology

https://blogs.oracle.com/jdeveloperpm/entry/adf_faces_stencils_for_visio_available_on_samplecode

https://blogs.oracle.com/onesizedoesntfitall/entry/adf_naming_and_project_layout

Blogs.oracle.com/ground side

 

Wednesday
Sep252013

Links

https://www.dropbox.com/s/92cfcfyfqxygpgo/HOL10178-Mobile%20Access%20Management%20and%20API%20Security.pdf
https://www.dropbox.com/s/u0tu9o0roj07dh4/HOL10178-Mobile%20Access%20Management%20and%20API%20Security-PPT.pdf

http://www.eaipatterns.com

https://plus.google.com/+Geekboots/posts/Ez7vBHb17Lj

 

Sunday
Sep222013

OOW

https://blogs.oracle.com/jdeveloperpm/entry/adf_faces_stencils_for_visio_available_on_samplecode
Wednesday
Sep182013

Great guiding points for all

http://12factor.net/

Wednesday
Aug072013

YBBO

Year Bought By Oracle

I think this should be shown on all products bought by Oracle.

 

Thursday
Jul042013

Indian newlywed 

This is what an Indian newlywed wife wears for 1 year from what she informed me.
Monday
Jul012013

Pune India at. Night

JW Marriot dinner with coworkers
Sunday
Jun302013

Pune India 

Some more photos from around Pune
Sunday
Jun302013

Pune India pics

This is an old fortress built by an India King. Thanks to my driver was able to get some site seeing in. The past 2 days were spent in bed getting initiation from India, bottle water must be something else.

Tuesday
May282013

Latest investigation on BPM deeplink

https://www.youtube.com/watch?v=WxbK3HLQGqY&feature=youtube_gdata_player
Wednesday
Aug222012

Registering WebCenter Portal Custom Taskflow 

These steps are only needed if for some reason like I find a conflict or a mapping problem occurs and the task-flow-registry.xml file is the not picked up by the portal meta data management service.

After you create your own bounded taskflow, register and deploy to your webcenter portal weblogic server.

Look at your taskflow definition from your bounded taskflow in the below example my definition is called customflow.xml. Then find your id of your taskflow mine is customid then use this to fill in the url attribute example would be “taskflow://WEB-INF/customflow.xml#customid”.

Change up the value fields as you wish for display purposes when you add the following task to the Resource Catalog.

### example entry ##

 <folder id="newfolderid">

         <attributes
resourceBundle="oracle.webcenter.webcenterapp.resource.ResourceLibraryBundle">
            <attribute attributeId="IconURI"
value="/adf/webcenter/folderclosed_qualifier.png"/>
            <attribute attributeId="Title" value="My Custom Taskflows"/>
         </attributes>
         <contents>
            <url
factoryClass="oracle.webcenter.portalframework.sitestructure.rc.TaskFlowResourceFactory"
id="customtask" name="customname" url="taskflow://WEB-INF/customflow.xml#customid">
               <attributes
resourceBundle="oracle.webcenter.spaces.resource.DefaultGroupSpaceCatalogBundle">
                  <attribute attributeId="Title" value="Custom Taskflow Title"/>
               </attributes>
            </url>
         </contents>
      </folder>

## end of example ##       

After you change the above xml to match your taskflow definition log in as an administrator in your webcenter portal. Then go to the Resource tab and click on the Resource Catalogs item under the Structure section.

 


1. If you have not already you need to copy the Default Space Catalog and name it what you want.

2. Then select the new catalog and click the edit button then select edit source.

3. Find an existing url tag and paste your changed above xml from folder to folder tags above one of the existing url tags.


4. Then just change your default resource catalog for the space you want to use your new taskflow.

Picture of added folder in visual edit mode of the resource catalog view.

 Here is a picture of the finished component added to my personal space page.

Sunday
Aug122012

The Patient Protection and Affordable Care Act

The Supreme Court has Ruled: Obamacare is Constitutional. I will not claim to understand what the total impact will be to all parties involved. I do have some ideas how technology can connect the Patient to the Doctor in a better way and help solve some of the requirements that exist in the new law which is actually called “The Patient Protection and Affordable Care Act” (PPACA).

Lets take a scenario of a patient being diagnose with Diabetes. This patient will need to have a more comprehensive management plan for their blood work, diet, exercise and other aspects of their lives.
My solution for the patient is a simple personal journal/log that allows the user to upload the results of various everyday tests and log their daily routine, making ease of use be the priority for the design. The application will allow the user to incorporate already established social media platforms to help with social support and in conjunction with tracking users everyday activities.
The solution for the Doctor and Hospital is more extensive. This data will be correlated with many data points to help target and flag the particular patient in the system when certain rules and AI learning deems the patient needs to have more advanced coaching to stay healthy.
Friday
Jul272012

iOS great or tolerated

I got a chance last night to use a iPad last night. Let me state this up front I love android but admit it always needs work. OK with that said is this not the case with iOS users? Do the iOS users are that committed to apple that they do not demand better or have they drank the kool aid? I only say this since last night it was stated my top task bar goes away when I use safari, the geek in me said give me that iPad I am sure I can fix it. Well last I heard its still hiding the taskbar. So if you know how to keep it showing please comment but come on it should not be this hard? I would be demanding this from android why not iOS or is it that you sign a contract to not complain but worship this interface?
Wednesday
Jul182012

Own your Content

Blogging/Publishing Steps:

  1. Complete your blog, video, pictures and other content publish.
  2. Write a tease to your content for twitter, I use twitter since it is de-facto for the short summary.
  3. Link to your content that you own on your own property: Google+FacebookTwitter, Evernote, etc...

Read below to see why I choose these steps when it comes to publishing content.

After thinking for sometime about starting to record and share my thoughts with others I needed to make a choice on the medium. I have used Evernote to store my notes and instructions but this is more of a create and store with authorization. I still use it to keep my scrambled thoughts and quick notes.

I knew that I would be recording my technical steps and info when developing code and some technical ideas like this one.

So I considered Facebook, Google+, Twitter etc... but the one thing all these platforms have in common you do not own the data. I do not care how evil or not evil these services are now in the future maybe they loose your content maybe decide to change or alter it or use it for advertisement for some sex toy who knows the possibilities are endless.

So I decided to own my data by paying a small fee to host my own site which offers blog's and other out of the box services.

This is my day job but after the end of day the last thing I want to do is the samething I do for work. I would rather hack and develop on my pet projects instead of managing a website.

Tuesday
Jul172012

WebCenter Portal Restful Services Setup PS4 and PS5

 

Here is the original document from Oracle but I have added a little more steps to help clarify the setup.

Original Instructions

All of the REST APIs, except for the navigations REST API, require WebCenter Spaces. For information on the navigation REST API, see Section 13.3.2, "Using the Navigation REST APIs."

51.2.1 Introduction

Before you can use the WebCenter REST APIs, you must perform the server-side configurations described in this section. You must perform two separate configurations. You must configure an identity asserter and you must seed required entries in the credential store, which enables the REST security tokens to function properly.

Perform these configuration tasks when WebCenter Spaces is installed for the first time or if you otherwise know the configuration tasks have not been previously performed.

For more information on security tokens, see Section 51.9, "Security Considerations for WebCenter REST APIs."

Note:

This configuration is not required for the navigation REST APIs or for the CMIS REST APIs.

51.2.2 Configuring an Identity Asserter

First, you must configure an identity asserter before using the REST APIs. For detailed instructions, see "Configuring the REST Service" in the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter.

 

 Here the start use your own admin password do not change anything even the copied instructions use verbatium.

First do this to see it not working in a browser hit the url localhost:8888/rest/api/resourceIndex put in you userid:youruserid and password yourpassword

Now after all this you will see all the xml just follow the steps.

WebCenter Domain Keystore

  1. Go to JDK_HOME/jdk/bin 
  2. RUN THIS COMMAND: keytool -genkeypair -keyalg RSA -dname "cn=spaces,dc=example,dc=com" -alias orakey  -keypass welcome1 -keystore default-keystore.jks -storepass welcome1 -validity 1064
  3. RUN THIS COMMAND:keytool -exportcert -v -alias orakey -keystore default-keystore.jks -storepass password -rfc -file orakey.cer
  4. RUN THIS COMMAND keytool -importcert -alias webcenter_spaces_ws -file orakey.cer -keystore default-keystore.jks -storepass yourpassword
  5. Ensure that the default-keystore.jks keystore file is copied to the <DOMAIN_HOME>/config/fmwconfig directory, and then specify the location as ./default-keystore.jks.
  6. Open Fusion Middleware Control and log in to the WebCenter domain.
  7. In the Navigation pane, expand the WebLogic Domain node and click the WebCenter domain (wc_domain by default).
  8. From the WebLogic Domain menu, select Security -> Security Provider Configuration.
  9. Expand the Keystore section on the Security Provider Configuration page
  10. Click Configure


Description of "Figure 32-4 Keystore Configuration Page"

11. Use the following settings to specify the location of the keystore that contains the certificate and private key, and the signature key and encryption key aliases:

  1. Keystore Path: 
  2. Password
  3. Key Alias: orakey
  4. Signature Password
  5. Crypt Alias: orakey
  6. Crypt Password

12. Click OK to save your settings.

13. Restart the Administration server for the domain.

 

28.8.3 Configuring the WLS Trust Service Asserter

This section describes how to configure the WebLogic Server Trust Service asserter.

To configure the WebLogic Server Trust Service asserter:

The Create a New Authentication Provider page displays.

  1. Enter the Name of the new asserter (for example, TrustServiceIdAsserter).
  2. Select TrustServiceIdentityAsserter 

This asserter calls the Trust Service APIs to decode and validate the token from the incoming request, and pass the username to the WebLogic for establishing the asserted subject.

  1. REBOOT everything again

 

 

NOW RUN THESE wlst:

wlst.cmd in the ECM directory common/bin

connect(‘userid’,’password’, ‘localhost:7001’)

 

createCred(map="o.webcenter.jf.csf.map", key="keygen.algorithm",

    user="keygen.algorithm", password="AES")

 

THIS ONE told me it already exsisted after running it no harm no foul it worked

createCred(map="o.webcenter.jf.csf.map", key="cipher.transformation",

    user="cipher.transformation", password="AES/CBC/PKCS5Padding")

 

OK you are done lets test it out :-) 

 In a browser hit the url localhost:8888/rest/api/resourceIndex put in you userid:myuserid and password yourpassword when prompted by browser.

Try the RestConsole for chrome