It's all about the answers!

Ask a question

WAS 8.0.0.9, Cannot Build FileRegistrySample.java File, missing com.ibm.websphere.security


Rob Olsen (3512153) | asked Feb 02 '15, 10:25 p.m.

I am trying to create a "Standalone custom registry" for WAS so it can be used in conjunction with Asset Manager.  I have been reading from the following links:

http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/tsec_tbucs.html?cp=SSAW57_8.5.5%2F1-12-2-7-0&lang=en

http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/tsec_tdaman.html?cp=SSAW57_8.5.5%2F1-8-2-33-2-1-2

There is a sample class, "com.ibm.websphere.security.FileRegistrySample".  In following the directions to build it, I am getting the following error:

FileRegistrySample.java:19: package com.ibm.websphere.security does not exist
import com.ibm.websphere.security.*;
^
FileRegistrySample.java:31: cannot find symbol
symbol: class UserRegistry
public class FileRegistrySample implements UserRegistry {
                                           ^
FileRegistrySample.java:50: cannot find symbol

I have loaded the WAS 8.0.0.9 Supplements which I thought would include this java file.  I know you are not supposed to use the Sample for production, but I am just trying to use this as baseline, get it to build and work and then I could modify it accordingly.

Any help is appreciated. 

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.