GroupManager & UserManeger Deprecated in 81. Example of New API

We have to move a portal from 7 to 81. The 7 portal uses GroupManager and UserManager remote interfaces heavily.
These are deprecated in 81. The following javadoc shows that the UserManager is deprecated in 81.
http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/p13n/usermgmt/UserManager.html
The new API seems to be AtnManagerProxy with AtnSecurityMgmtHelper.
Can someone tell me how to use these new APi classes? Are there any examples and do we need to make any configuration changes in ejb-jar.xml or other xml files like we did for GroupManager & UserManeger in 7.
Thanks

import com.bea.p13n.security.management.authentication.*;
private AtnManagerProxy securityProxy = null;
securityProxy = new
AtnManagerProxy(AtnSecurityMgmtHelper.getDefaultProvider());
if (securityProxy == null)
throw new CreateException("userManagement - ejbCreate:
AtnManagerProxy");
user securityProxy variable just as you did before with groupmanager and
usermanager.
Michelle Smith wrote:
We have to move a portal from 7 to 81. The 7 portal uses GroupManager and UserManager remote interfaces heavily.
These are deprecated in 81. The following javadoc shows that the UserManager is deprecated in 81.
http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/p13n/usermgmt/UserManager.html
The new API seems to be AtnManagerProxy with AtnSecurityMgmtHelper.
Can someone tell me how to use these new APi classes? Are there any examples and do we need to make any configuration changes in ejb-jar.xml or other xml files like we did for GroupManager & UserManeger in 7.
Thanks

Similar Messages

  • Help Neede: New API for KM

    Dear All,
    I have found that com.porta.security.IUser class is deprecated in new release and it is giving error.
    I have to get <b>ResourceContext(IUser)</b> object to access KM. What is the new way to access KM docments using new API?
    Please provide some sample code if possible.
    Kind regards,
    Sreejesh.

    Hi,
    With "deprecated" you mean this class
    om.sapportals.portal.security.usermanagement.IUser
    What do you mean with "giving error"?
    As to my knowledge you currently have to live with the deprecated IUser class for using the KM API. The current
    com.sap.security.api.IUser
    will not work.
    Kind regards,
    Dominik Witte

  • Is Audit related api's are missing in OIM 11g new API's.

    Hi All,
    I want to use OIM 11g Apis to use perform tasks related to audit. But I didn't found any api in oim11g new APIs.
    Can any one suggest me what shall i do?
    Thanks,
    Iceman513

    Hello,
    Did you get any answer?
    I am also trying to generate Audit using OIM API/Direct procedure calls..
    Any help will be appreciated.
    Thanks

  • MDM4J to New API Migration

    Hi All
    We are planning to upgrade a MDM interface, designed using MDM4J Java API to New Java API as we are migrating from MDM 5.5 SP03 to SP05.
    We basically use the interface for the following
    - Add / update Records
    - Move the records from one repo to another repo
    - few other customized functionalities
    Need your help with the following queries.
    - Do we need to re-write the whole application code?
    - How much % of code can be reused?
    Please share your experiance if you have worked on the same.
    Thanks
    Edited by: Prakash Nathan on Jan 4, 2008 3:56 PM
    Edited by: Prakash Nathan on Jan 4, 2008 3:56 PM

    Hi Nathan,
    The amount of code that needs to be re-written depends on how well you have separated data manipulation and UI.  Obviously every reference to MDM4J functions needs to be recoded.
    Please note that your intended migration from SP03 to SP05 does not mean that you have to migrate custom applications to the new Java API, as SP05 still supports MDM4J. So you should consider the migration to the new API if you want to take advantage of functionality not included in MDM4J, or the much smaller memory footprint of the new API.
    Regards,
    Walter

  • Java API Update - All new API functions added

    I have released Version 1.1 of the iTunesU Web Services API for Java, which includes all of the new API functions documented in the request XSD announced in yesterday's update. These include:
    - mergeSite()
    - addDivision()
    - deleteDivision()
    - mergeDivision()
    - addSection()
    - deleteSection()
    - mergeSection()
    - addCredential()
    - deleteCredential()
    The project page is here:
    http://code.google.com/p/itunesu-api-java/
    The full list of supported functions can be browsed online:
    http://itunesu-api-java.googlecode.com/svn/trunk/doc/edu/asu/itunesu/ITunesUConn ection.html
    Thanks, and please let me know of any issues you encounter.
    Dave Benjamin, ASU

    This looks like a bug in SP4 Patch 3.
    Calendar calendar = Calendar.getInstance();
    DateTimeValue dateTimeValue = new DateTimeValue(calendar);
    While debugging I get these values..
    calendar.getTime()
          (java.util.Date) Wed Apr 18 <b>13:41:13</b> CDT 2007
    dateTimeValue.toString()
          (java.lang.String) 04/18/2007 <b>01:41:13</b>
    Please open a OSS message.

  • Help me to Develope a new API named "JChart API"

    I am developing a new api named JChart API.
    It has several features like loading data from 7 different data sources like file, xml, Jtabel, Database.
    It consists of different graphs/charts which are heavily customizeable.
    I want someones help in the designing and development of this API
    if any body can help me please contact me on my Email
    email address is
    [email protected]
    [email protected]
    thanks

    I already see the JFree Chart.
    But i have some problems with it
    first of all i can not understand the overall design of this charting library like it uses the jcommon library wich i think should not be used. secondly it can not provide a uniform structure for dta manepulation. There should be only one datasource structure for every charting component otherwise you are not able to change the chart type at the run time using the same data. I can think on this option if u provide me some documentation about this project like its design diagrams and some project information
    thank you.
    Asifch

  • 'Control Shockwave or SWF' Deprecated (CS4) – What is the new way of controlling a swf

    Hi I have been asked to insert some background music into a website with a simple on/off button.  Following the Adobe Help files I created a SWF file using flash and inserted it into a page and named it. This is working when uploaded but without any control yet. I created a text link and gave it a null link (javascript:;) After selecting the link and choosing ‘Behaviors’, and finding the ‘control shockwave or SWF ‘(in the deprecated folder) the ‘movie:’ drop down selector has found my file. I select’ Go to frame’ and type in 2 (as advised in the help file), and click OK. I get the message about Netscape which I ignore and choose OK, and then I get another message ‘Please select a Shockwave object name or click cancel’. There is only one SWF file and it is already selected. I am experiencing a problem here, however,does anyone know if there is a more up-to-date way of achieving what I am trying to do considering that the behaviour is deprecated anyway? Any help appreciated Thanks

    You build your control interface in flash. When you publish your flv flash will create 2 files one for the controls and one for your 'normal' swf file.
    You must upload both these files to the server for it to work.
    PZ

  • Trouble with customer-cmp-ear example for new sun application server 9.0

    recently, i have been playing with sun Java system application server 9.0 and try a couple of examples, but i was in trouble. for example, i try customer-cmp-ear example, and i can create db, but i can not Set up JDBC resources, and i always get the following error:
    CLI146 /path/to/passwordfile does not exist in the file system or read permission denied.
    i take a look at the description of the example, one thing i do not quite understand, at the common instruction, i am required to set javaee.server.passwordfile property, does it mean i have to create a passwordfile? where do I put it ? i hope someone can help me, i will really appreciate it.
    Message was edited by:
    junjun

    I solved it.
    Change the file"build.properties.sample" to
    "build.properties"
    Maybe it's a bug in J2ee TutorialThe instructions in the About chapter tell you to copy build.properties.sample to build.propertieshttp://java.sun.com/javaee/5/docs/tutorial/doc/?wp405013&About.html#wp87965
    -Ian

  • How can I remove both the old (deprecated) sync account and the newer one from my device?

    I want to remove both of the two Sync accounts from my device's system settings.
    I'm using a kitkat based ROM: CM11 on a Samsung S2.
    Thanks.

    Thanks. This is what I tried before asking here, but now it worked because I removed the deprecated account first. Then, after a couple of crashes by the Exchange Service, both the profiles are gone. After all, CM11 are nightlies. :)

  • TestStand with perl and Tcl examples need newer dlls

    I'm trying to run the TestStand with perl and tcl examples but they both point to older dlls. When I try to update by making changes and recompiling the main.cpp in VC++ 6.0, I get errors referencing cl.exe and oleauto.h, I'm not sure if I missed a step or what. See attached screenshot. TIA. Judy Jiru
    Attachments:
    scrnShotErrors.doc ‏110 KB

    Hey Judy,
    From my understanding oleauto.h and cl.exe are not National Instruments files. My suggestion would be to google the files - I found a bunch of hits for both the files. It may also be helpful to post on a discussion forum dedicated to VC++ 6.0. You may want to try the Microsoft newsgroups or I'm sure there are tons of other online.
    I hope this helps! Once you compile the dll if you have problems calling it from TestStand please post back.
    Regards,
    Sarah Miracle
    National Instruments

  • I just updated my iPod touch to IOS 5.0.1...but after that my iPod touch cannot synchronise with Itunes. the iTunes do detect the iPod and synchronize it but for examples a new song or aplication that i just download does not appear on my iPod...

    i just updated my iPod touch 4G to IOS 5.0.1. after that my ipod cannot synchronise with itunes. during connecting to itunes my ipod seem to be synchronised with itunes but the song or application that i just downloaded did not appear in my ipod.

    - First try a rset. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next try restoring from backup

  • Simple Java Example for DI API

    Hello,
    I have a Java Application and would like to connect to a SAP BO Database using JCO and DI API.
    I want a simple java example that just connects to the BO Database and returns an item name or value or a recordset from the database.
    Since i dont have the names of what kind of fields, items , tables exist in the SAP BO Demo database i need a basic example to make sure that i can connect to the database and retrieve data from the DB.
    Any help in this regard would be appreciated...
    Amit

    Dear Amit Hingher,
    The B1 JCO is a java wrapper for DI API so basically you could refer to DI help for all objects, methods and properties.
    Here the jave sample for connection function:
    package test;
    import com.sap.smb.sbo.api.*;
    public class ConnectSAP {
         // company interface
         public ICompany company;
         private SBOErrorMessage errMsg = null;
         public static void main(String[] args) {
              ConnectSAP company = new ConnectSAP();
              company.conn();
         //method make connection andinitialize company instance
         public int conn() {
              int rc = 0;
              try {
                   company = SBOCOMUtil.newCompany();
                   company.setServer("(local)");
                   company.setCompanyDB("test");
                   company.setUserName("manager");
                   company.setPassword("manager");
                   company.setDbServerType(...);
                   company.setUseTrusted(new Boolean(false));
                   company.setLanguage(SBOCOMConstants.BoSuppLangs_ln_English);
                   company.setDbUserName("Sa");
                   company.setDbPassword("123");
                   company.setAddonIdentifier("...");     
                   company.setLicenseServer("...");
                   rc = company.connect();
                   if (rc == 0) {
                        System.out.println("Connected!");
                   } else {
                        errMsg = company.getLastError();
                        System.out.println(
                             "I cannot connect to database server: "
                                  + errMsg.getErrorMessage()
                                  + " "
                                  + errMsg.getErrorCode());
              } catch (Exception e) {
                   e.printStackTrace();
                   return -1;
              return rc;
         public void freeConnection(){
              company.disconnect();
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Installing new api

    i have downloaded new java mail api, but i dont know how to install it.
    plz help me on this
    Regards
    san

    Putting it in the "bin" directory doesn't magically add it to your classpath though. Regardless of where you installed it to, you need to add it to your classpath. There are a variety of ways of doing that depending on how you're doing your development. One example: command-line:
    javac -classpath (your classpath here, including that jar) (other arguments)

  • Old game developper not used to new APIs...

    Hi all,
    About 3 years ago I was working for Ubisoft building Java games. Back then (jdk 1.1.8), the fastest way to produce images with effects and all was to manipulate the image as an array of pixels (int[], ARGB) and to use a MemoryImageSource to produce the image.
    Now I feel like building a game for the fun of it, but I'm lost in all the new stuff they added. First of all, I just wanted to have an image built on an array of pixels. So I tried the following code :
    DirectColorModel model = new DirectColorModel(32,0x00ff0000,0x0000ff00,0x000000ff,0xff000000);
    WritableRaster raster = model.createCompatibleWritableRaster(640, 480);
    int[] array = new int[640 * 480];
    for (int i = 0; i < array.length; i++)
    array[i] = 0x00ff0000;
    raster.setPixels(0, 0, 640, 480, array);
    BufferedImage img = new BufferedImage(model, raster, true, null);
    panel.getGraphics().drawImage(img, 0, 0, this);
    First, I get an ArrayIndexOutOfBounds on the setPixels() call. Why is that ? I mean, I specified the width and height to 640 * 480 but seems that the raster does not have the same widht and height ???
    And second, if I use like setPixels(0,0,40,40,array), it displays some weird color scheme but in the array, I set all the pixels to 0x00ff0000 (red).
    Could anyone help to get started ? I guess I am missing something here.
    BTW, if anyone is interested in having a colloection of nice functions to manipulate arrays of pixels, I can send my old collection through e-mail.
    Max, former game prog, but da** lost in all this...

    Could anyone help to get started ? I guess I am missing something here.Useful API documentation? The whole area of Rasters seems to me to be thoroughly undocumented.
    I don't know whether you've had a look at the source code for java.awt.GradientPaintContext (it's a package-private class). Rather than use setPixels(int, int, int, int, int[]), they use internal knowledge about the type of WritableRaster returned.
    I think that if you want to understand what's going on, you'll have to wade through the source code (and it's not at all well commented).
    Incidentally, what wierd colour scheme do you get? Is it a consistent block of colour, and if so can you paint your image onto a BufferedImage and use getRGB(int, int) to find out its value?

  • Introducing JavaStates - a new API for state based GUI development in Swing

    JavaStates partially implements the semantics of D Harel' statecharts.
    It is currently hosted as source forge project:
    [https://sourceforge.net/projects/javastates/]
    , and has been used for several years for teaching Java Swing and the specification of man machine interfaces at ESIL
    [http://www.esil.univmed.fr]
    [http://laurent.henocque.com]
    The project provides several demos, including a full fledged swing text editor, and is stable.
    Details can be found here too:
    [http://javastates.posterous.com/]
    I'd be very happy to interact with both experts and users.
    I claim that Javastates tremendously improve the quality and speed of GUI development.
    Do you agree?
    Edited by: lhenocque on Mar 4, 2010 4:18 AM

    Thanks for the good practise hint, and many more thanks for your interest.
    I haven't tried anything but don't you get an explosion of states?
    explosion of states is controlled by concurrent regions. Two states in two concurrent regions can be active at the same time.
    There can be no 'explosion' anyway since the states are programmer declared. The list is finite, and under control.
    For example the program I'm working on has a table and actions are enabled based on:
    -no selection/single selection/multi selection
    -top/bottom row selected (move up/down action)
    -user read/write permission
    -properties of the object of the selected row
    The situation you describe is handled by (at least) four concurrent regions.
    The typical error is usually forgetting a particular one which result in action being enabled/disabled when the shouldn't. Currently solving that by having a callback method which enables all the action correctly and gets called whenever there is a selection/security/etc update.
    Javastates cares for both setting the properties of the states (including the callbacks to fire) and for the cleanup. Using this allows for defect free interfaces in the sense that nothing can be left over.
    Using Javastates helps you to separate your logic in the same way as object programming with virtual functions does. You should end up replacing a code with many if/thens by separate listeners, dynamically set by callbacks.
    Also fluent interface method chaining is nice until it becomes a flood in my opinion - similar to how GroupLayout is better handled by Matisse GUI builder than by hand, JavaStates might benefit more from a graphical tool.
    You are right. Both apis exist. The fluent api is provided for simplicity, since it prevents from declaring useless local variables.
    Also for a GUI builder. I created the foundation of Javastates for an interpreted language called WIZ in the IDE Openside around 1990 (that was in C).
    Then later I implemented a subset of the current Java features in C++, that were interfaced in the GUI Builder called ILOG Views.
    So yes I agree a GUI can help, but anyway the Java code resulting from using states is mare more concise and structured than it would otherwise.

Maybe you are looking for

  • Need to Immediately Deactivate a Skype Number

    I purchased a Skype number that turns out to have been previously owned by a scam operation and is still receiving calls.  I alreaday purchased a second Skype number to replace it, and canceled the first number.   The problem is that the first number

  • CS5.5 Master Collection on Case-Sensitive File System

    Hello, The first thing I'll say is that I already know it's not possible to install on a case-sensitive file system. So, on to my question.  I have been tasked to find out a way to get this installed on our 30-35 Macs with case-sensitive file systems

  • Exchange Online Protection (EOP) instead of EDGE server ?

    Hi, we have Exchange 2010 with HUB server in LAN and EDGE in DMZ. There is an EDGE subscription on HUB and we use EDGE Sync. We have Forefront Protection 2010 for Exchange (FPE) installed on EDGE. Our license for FPE is coming to end and because FPE

  • Ipod touch usb to firewire

    I know that Apple requires a usb 2 connection between computer and an ipod touch and that firewire is no longer an output on an ipod But can anyone tell me please 1. if I bought an ipod touch could I successfully sync it via usb 1 and an 800mhz imac?

  • Use Logic Express for quadrophonic sound project??

    Hi, I'm very happy with LE9 so far, but now I may have to do a quadrophonic project... anyone ever done that with LE9?? I can imagine that I could achieve something by using 4 busses, and mixing using 4 sends on each track... or are there better tric