Question about users in thr realm file.

Hi,
I started reading and practicing how to implement security issues on web applications. I understand that you can use either a the declarative approach or a programmatic approach using annotations. From what I understand all the users,groups and principals are managed by the application server and the roles are managed by the web.xml and sun-web.xml and can be used in the annotations.
My question is as follows: If I am building a web site that requires a login process, it means that I have to save the information of the web site's users in a database or in some other means of data source. Do I have to declare all my web site users in the realm file also, Is there a way to map the users from the database to the users in the realm file?
Thanks
Shay

Hi ,
Has the IBR server been configured correctly to process contents that are to be converted to PDF ?
If not , then please go through the following documentation : http://docs.oracle.com/cd/E23943_01/doc.1111/e10800/toc.htm
This will list all the relevant steps / configurations which should be done to get conversions working .
Thanks,
Srinath

Similar Messages

  • Questions about user-defined functions

    Hello all,
    I've got some questions about user-defined function in a message mapping:
    1) How can I get the current date/time in format yyyy-mm-dd hh:mm:ss ? What is the java code for this?
    2) I want to use the StreamTransformation constant TIME_SENT, only this is not in the right time-zone.
    It is GMT and it should be CET (1 hour difference). How can I convert this in Java?
    Can somebody help me with this?
    Thanks in advance.
    Kind regards,
    Marco van Iersel

    Hi Marco,
    If the date format is fixed as you have mentioned,please use this:
                                    String test = "2009-03-27 23:15:30";
              String test1 = test.substring(11,13);
              if(!test1.equals("23"))
              int a = Integer.parseInt(test1);
              int b = a+1;
              System.out.println("b"+b);
              String c = Integer.toString(b);
                                    test = test.substring(0,10)+" " + c + test.substring(13,19);
                                    return test;
              if(test1.equals("23"))
              test = test.substring(0,10)+ " 00" + test.substring(13,19);
              return test;
                                    else return "";
    Kindly let me know if this works.
    Thanks.
    Regards.
    Shweta

  • A question about users assigned roles extraction

    Dear all,
    I have a question about users assigned roles list extraction. I need the list of the users who have already been created along with their assigned roles. According to what I found on Google, there is a table named AGR_USERS which provides the roles assigned to each user. Yet, this table provides only the SAP ID of each user along with the assigned roles. What I need more is to have also the first name and second name of each user.
    So, do you know any table providing at least the following information:
    1) First name of each user
    2) Second name of each user
    3) SAP ID of each user
    4) All assigned roles to each user.
    NOTE: I really need to have first name and second name in separate columns
    Thanks in advance,
    Dariyoosh

    >
    Shekar.J wrote:
    > Agr_users for the user ID and role assignments
    > USR02 to check the validity of the User ID
    > and USER_ADDR for the first name and last name
    >
    > You can create a Table join of the above 3 tables to retrieve the data you require
    Thanks to you and others for your attention to my problem
    I don't know anything about ABAP programming, is there any transaction allowing to create this join? As it seems to me the column "UNAME" in the table "AGR_USERS" and the column "BNAME" in the table "USER_ADDR", both refer to the SAP ID of the user. As a result the condition of the join would be "WHERE (UNAME = BNAME)", is there  any transaction/programme allowing to create this join?
    Thanks in advance,
    Dariyoosh

  • Question about image slideshow (like mac file preview)

    Hello!Ι have a question about Adobe Edge.is it possible to create a photo slide show like mac's file preview? i mean smthg like this  https://www.youtube.com/watch?v=Q727LqDIZKM

    Hi, TasisGrafix2-
    Edge Animate doesn't support css3d natively, but you can use a third party library such as edgehero.js to make this work.
    http://www.edgehero.com/edgeherojs.html
    Good luck!
    -Elaine

  • A question about User Exits(EXIT_SAPLRRS0_001)

    Hi,
    i have a question about EXIT_SAPLRRS0_001.
    In this case i want to get a start date of the quarter(Z0DD1) during 2 variables (year 'ZAYEAR1' and quarter 'ZAQTR1'), which are given in a POP-UP Dialog. The following codes:
    CASE i_vnam.
        WHEN 'ZODD1'.
          IF i_step EQ '2'.
            CLEAR: l_s_range.
            READ TABLE I_T_VAR_RANGE INTO i_s_var_range WITH KEY vnam = 'ZAYEAR1'.
            IF sy-subrc EQ 0.
              l_var_year = i_s_var_range-low.
            ENDIF.
            READ TABLE I_T_VAR_RANGE INTO i_s_var_range WITH KEY vnam = 'ZAQTR1'.
            IF sy-subrc EQ 0.
              l_var_quarter = i_s_var_range-low.
            ENDIF.
    *==================start date of the quarter===============
            CALL FUNCTION 'Z_0000_QUARTER_S'
              EXPORTING
                VA_APPLE_QUARTER   = l_var_quarter
                VA_APPLE_YEAR      = l_var_year
              IMPORTING
                VA_APPLE_QUARTER_S = l_var_quarter_s.
            clear l_s_range.
            l_s_range-low = l_var_quarter_s.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDIF.
      ENDCASE.
    Please help me to check if this program is right?
    I have made a debugging, but i do not understand, why this program runs 3 time with I_STEP from 0 to 3. In fact I need only the data with I_STEP = 2.
    Addtionally i want to know if the tabel e_t_range will provide the returned value (ZODD1) ?
    THANKS A LOT.

    THanks your replies!
    I would like to know if the e_t_range provides the returned value (In this program i want to get the value of ZODD1)?
    IF yes, in I_STEP = 2 e_t_range save the right value for ZODD1. But this program run one time again--- I_STEP=3, at this time e_t_range hat not any value, that means if i will not get the value for ZODD1?
    THANKS.

  • Question about security issue when transferring files from PC

    I am in the process of looking at macs. I have always been a PC user and have been EXTREMELY impressed with the features of mac os x. Here's the question. I am probably sure that I have one or more viruses on my PC, what PC doesn't right? When I get my mac, I'm looking at the macbook, I see that I can transfer my files over from a PC to my new mac. The problem is. I want my files, but I'm leery about transferring a virus over also. I've heard about the security of macs and I am wondering if this is something I need to be worried about, or if it won't be a problem. Is there any steps I will need to take to ensure that I don't bring any viruses over with my files? Thanks for the help.
    Micah
    P.S. I am really starting to get sick and tired of Vista. I had to download VLC media player to play my Windows Media files because my Windows Media player on Vista WILL NOT play the files meant for that system. Arrrghhh Sorry for the vent.

    Be sure to scan all your files for viruses before moving them from the PC to the Mac. Although PC viruses should have no effect on a Mac, it's still possible to pass on a virus to a friend via email.
    Do You Need Anti-Virus Protection for Your Mac?
    According to Rich Mogull's article, Should Mac Users Run Antivirus Software?,
    "The reality is that today the Mac platform is relatively safe. There are hundreds of thousands of viruses and other malicious software programs floating around for Windows, but less than 200 are known to target the Mac, and many of those are aimed at versions of the Mac OS prior to Mac OS X (and thus have no effect on a modern Mac).
    It's not that Mac OS X is inherently more secure against viruses than current versions of Windows (although it was clearly more secure than Windows prior to XP SP2); the numerous vulnerabilities reported and patched in recent years are just as exploitable as their Windows equivalents. But most security experts agree that malicious software these days is driven by financial incentives, and it's far more profitable to target the most dominant platform."
    Mr. Mogull is a computer security expert. I recommend reading the entire article as it is quite informative.
    For additional information on viruses, trojans, and spyware visit The XLab FAQs and read the FAQs on viruses and spyware.

  • Question about user accounts

    Setting up new mini with 10.6 installed. This is my second Mac, current system is eMac with 10.3. All files/media I want to save are backed up on ext. HD.
    This time I want to set up an Administrator Acct. and another User Acct. (without Admin. access) for routine use. Did not know enough to do that the first time.
    But, I want access to all the old files without ownership/privileges problems.
    As I understand it, I can make the user acct. names the same as the names on my acct. on the old system and there should not be any problem? I have a reason for wanting to not do this, but certainly can and probably will, if that will work.
    To help me understand all this, is the "short name" the real account name/identifier? In other words, can I make the user name anything I want as long as the "short name" is the same?

    The info you have given has thrown me for a loop. As I stated in my reply to Scott I am really having trouble understanding this whole account/file ownership issue, although I thought I had it figured out and was seeking verification.
    Regarding your info about copying files from an external drive, how/why does "ignore ownership on this drive" work?
    "ignore ownership" makes all files on the external read+write by any user so there are no issues with permissions.
    Did a lot of research on several Mac help sites before posting here. A common problem seems to be someone wanting/needing to change account name(s) on a system they will continue to use. Common advice given is:
    Create new account.
    Copy/transfer files to new account.
    Remove/delete old account.
    How/why does that work without file ownership/permissions being a problem?
    most files have read permissions by everybody when created so copying them from one account to another is not a problem. please read up on the basic permissions structure
    http://www.perlfect.com/articles/chmod.shtml
    I understand that the real UID is a numeric code. How does the system arrive at that code?
    the very first user account created on any mac has UID 501 by default. the next one 502 and so on.
    It seems to me if I use the same, exact, account name(s), file ownership would not be an issue.
    that's completely wrong. same account name doesn't help in any way at all. same user ID is what's checked.
    for example when you create a file on an external drive and then move that drive to another computer if you access it from an account with the same user ID by a different user name it will show you as the owner.

  • Question about Users and/or ICE

    I am new to BC and already frustrated.
    I have a site created in DW. I want my client to be able to edit some of the general text and edit—add and subtract—the images inside a photo gallery (from a BC module). On of my team has added ICE code to certain items that we want them to be able to change but do not know if—or how—ICE can be applied to images in the photo gallery module.
    So I can use ICE for my client but, after watching and reading several tutorials about how great ICE is, I have not found the answer to the simple question: how does my client access this process? I have also tried to create a limited User for the client but even there I have no clear answer on how to limit the client's access, or for that matter target only the text and photo gallery.
    I am hoping that some kind soul out there will take pity and explain—step-by-step—the best way to accomplish what seemed when I started this process to be a pretty straight forward request. I have gone to several tutorial sites and even found what may be the only book written on BC and after the fact discovered that these materials are already obsolete. Please, help. The account people are breathing down my neck to get this done.
    Thank you in advance for your help.
    Kevin

    useradd --help
    -g, --gid GROUP name or ID of the primary group of the new account
    -N, --no-user-group do not create a group with the same name as the user
    You may set these options.
    useradd -m -g users -G audio,lp,optical,storage,video,wheel,power -N -s /bin/bash thomas

  • Question about user creation.

    So I've created using the Wiki article https://wiki.archlinux.org/index.php/Users_and_groups here.
    I've created a user and gave it a password and added to the wheel, and it works fine. I can login and it starts X and everything, however there is no file structure within the home/username directory. I always see on Arch Wiki and other ones about editing X rc files and what not, and they're referring to ~/.xinitrc or something similar.
    However my X files are located in the root place still. Is this something I should be taking into consideration and changing? I don't want to get further down the road and then have something be setup wrong. As of right now the only folders in my user folder are Desktop and Downloads, and I created those. I'm just wondering if there is something I'm supposed to do to transfer my X server and Window Manager stuff from the root positions to the user level. If running these from a root point is an okay thing to do I'm fine with that, I'm just under the impression I'm not supposed to do that.

    jasonwryan wrote:Don't run X as root. Follow the xinitrc wiki article and move all the files you need to run X as your user to their ~.
    Alright. Thanks for the link, should I follow that as a general rule of thumb(Although I can't see myself really installing anything else as root in the future)? Right now my Display Manager and Window Manager as both installed under root as well, and a couple other things I believe.

  • Repaired MacBook Pro - Question about User Account being copied

    On Wednesday, my MBP was ready to be picked up at the Apple Store. They told me it was basically everything inside that caused my display to not function and it would have cost me over 1700 dollars without AppleCare, so that made me happy. They also said they heard weird noises coming from my hard drive so they gave me a new one as well. Some applications needed to be installed but I was told that all of my documents are on this machine. They copied over my User folder. I didn't really care that I lost my Windows partition but it would have been nice to know before they just deleted it..
    Anyway, I got home and turned on my machine. It said I only had about 20 gigs left of storage. Wait a minute... This had to be wrong because thats the space I had on my previous computer WITH the Windows partition. After a little researching, I saw that in my Users folder there was another folder called "DELETED USERS." When I opened it, I saw my documents and music files. I thought it was where they put my old data from my other drive but it wasn't. There was another folder in "Users" with my name and data. It seems like they copied it twice or something. I was just wondering if it's okay to delete this data.

    yes, it's quite ok to delete that folder. First make sure that everything was indeed copied to your main user folder and if it is, delete "Deleted Users".

  • QUESTION ABOUT OUTPUTTING to a .txt File???

    I want to output some input to 3 different Output and then read those in later... my problem is HOW DO I SET 3 DIFFERENT OUTPUT FILES THAT WILL BE ABLE TO GET THE INPUT EVERY TIME THE PROGRAM IS RUN....?? I DO NOT WANT THE USER TO BE ABLE TO NAME THOSE FILES... I WANT THOSE FILES TO BE OPENED OR CREATED WHEN THE PROGRAM IS RUN... RIGHT NOW I JUST HAVE ALL THE INPUT GOING TO THE SCREEN AND THAT'S NOT WHAT I WANT IT TO DO.. I WANT THE INPUT TO GO TO SEPARATE 3 FILES...
    THANKS..
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class Assemble
         public static void main(String args[]) throws IOException
              if (args.length > 0)
                   System.out.println("");
                   System.out.println("");
                   System.out.println("");
                   System.out.println("Assemble.class is a small program that");
                   System.out.println("takes in as input a body of text and then");
                   System.out.println("outputs the text in an order according to");
                   System.out.println("the tags that are placed in the input.");
              else
                   System.out.println("");
                   System.out.flush();     
         BufferedReader in = new BufferedReader (new InputStreamReader( System.in ));
         String input;                
         while (true)
              input = in.readLine();
              if (input == null)                          
                   break;
              else if ( (input.compareTo("<HEAD>")) == 0)
                   do
                        input = in.readLine();
                        if ( (input.compareTo("</HEAD>")) != 0)
                             System.out.println(input);
                   while ( (input.compareTo("</HEAD>")) != 0);
              else if ( (input.compareTo("<BODY>")) == 0)
                   do
                        input = in.readLine();
                        if ( (input.compareTo("</BODY>")) != 0)
                             System.out.println(input);
                   while ( (input.compareTo("</BODY>")) != 0);
              else if ( (input.compareTo("<FOOT>")) == 0)
                   do
                        input = in.readLine();
                        if ( (input.compareTo("</FOOT>")) != 0)
                             System.out.println(input);
                   while ( (input.compareTo("</FOOT>")) != 0);

    To write to a file, use PrintStream. It has a method println() like System.out, except you can specify a File as the target, e.g.:
    PrintStream ps=new PrintStream(new FileOutputStream(new File("myfile,.txt")));And to write a string to this file,
    ps.println(String);

  • Question about the arrangement of music files within an album

    Hi all,
    I used to have a cheap MP3 player that worked just like a portable hard drive--drag-and-drop and organized into folders. I wanted the quality of an iPod, but with the organizational convenience of my old player, so I decided to change the tags of all my MP3s so that the album titles were the titles of all my old folders. This basically worked--whenever a folder was organized by tracks, I would open up the album, and there were all my files, properly arranged. The problem is when the "album" wasn't actually an album. I tried to change all the track numbers to "1" hoping that the iPod would just then arrange the files in alphabetical order by title. But it doesn't. I can't figure out what system it uses, but I figured you might know. Here are the questions:
    How does the 5G iPod determine the file order of tracks within an album when all the tracks have the same number?
    and
    If track number is the only thing it checks, is there any way for me to cheat and get the songs in alphabetical order without manually giving them all a track number?
    and on an unrelated note
    Anyone find the standard issue Apple earbuds to be too large? Any recommendations for slightly smaller earbuds that are at least at the same quality level? A few suggestions at different price levels would be appreciated. And I assume you already have a discussion for that, so a link would suffice.
    Thanks,
    John

    wow that is crazy i can't believe it is able to transpose audio loops (not midi) to different keys. especially stuff with more then one note playing at the same time like guitar strum.
    I know how to set up the key in logic and change it etc... i was really wondering how it is capable of doing this?? does it have some kind of melodyne or autotune built in to it?? i never heard of software being able to do this with pre recorded audio that plays more than one note at a time.
    Message was edited by: smurffy

  • Question about Illustrator CS5 making eps files in Mac OS 10.9.5

    Hello, I am using Illustrator CS5 on a Mac. I just updates to Mac OS 10.9.5
    Now when I save an simple Illustrator vector file as an eps, and place it in another program (such as Quark), I get code instead of the preview image. I tried older vector eps files, and they still work. i tried older Quark files, and they still work. I ruled out font problems. I tried importing new Illustrator ai file, same result. Any thoughts?

    Ask in the AI forum and include proper details about your export settings and your artwork. EPS parsing errors usually mean you chose an unsuitable combination of settings and/or the embedded previews are botched.
    Mylenium

  • Question about how javac finds referenced files.

    Hi
    I am just beginning to learn Java and have got some questions related to packages.
    I have two classes:
    MyClass.java
    package pkg;
    public class MyClass {
         public void prn(int x){
         System.out.println("Integer: "+x);
    Test.java
    import pkg.*;
    public class Test{
         public static void main(String[] args){
              MyClass obj=new MyClass();
              obj.prn(2);
    Directory structure
    /root/ jprog/MyClass.java
    /root/ jprog/Test.java
    Executing the following sequence of commands gives me:
    # ls
    MyClass.java Test.java
    # javac -d . MyClass.java
    # ls
    MyClass.java Test.java pkg/
    # cd pkg
    # ls
    MyClass.class -----compiles.
    # cd ..
    # javac Test.java
    Test.java:5: cannot access MyClass
    bad class file: ./MyClass.java
    file does not contain class MyClass
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    MyClass obj=new MyClass();
    ^
    1 error
    Now after reading another thread on this forum I came to know that the compiler finds the
    MyClass.java in the wrong package. Using verbose option with javac shows this.
    So I move it to some other directory and everything works.
    # mv MyClass.java /root
    # ls
    Test.java pkg/
    # javac Test.java
    # java Test
    Integer: 2
    Now the question begins:
    Suppose we go back to how the files were arranged before I moved the MyClass.java file and
    I change the Test.java file by adding
    package pkg2;
    statement to it.
    Now everything compiles
    # ls
    MyClass.java Test.java ---I have deleted pkg and .class files
    # cat Test.java
    package pkg2;
    import pkg.*;
    public class Test{
    public static void main(String[] args){
    MyClass obj=new MyClass();
    obj.prn(2);
    # cat MyClass.java
    package pkg;
    public class MyClass {
    public void prn(int x){
    System.out.println("Integer: "+x);
    # javac -d . MyClass.java
    # javac -d . Test.java
    # ls
    MyClass.java Test.java pkg/ pkg2/
    # java pkg2.Test
    Integer: 2
    Why isn't the MyClass.java file causing any problems now?
    Using the verbose option with javac shows that the compiler goes straight for the pkg/MyClass.class.
    My readings of Core Java Horstmann tell me that the compiler always looks in the current directory. javac documentation also doesn't help. I know that the documentation recommends that the source file locations should match the package statements.
    I'm just trying to learn how javac finds referenced files.
    Any help??
    Thanks a load in advance.

    I know that the
    documentation recommends that the source file
    locations should match the package statements.This is not merely a recommendation, it is a requirement.
    Both javac and java find classes by traversing the classpath. The classpath should contain directories (or jar files) that correspond to the top of a (part of the) package hierarchy.
    For example, if the Java code for your class is in a file C:\src\pkg\MyClass.java, and MyClass.java declares the class to be in package pkg, the classpath should contain C:\src. Classes are then found by transforming their package declaration into a directory structure.
    Please note that javac works on files, not classes. Therefore it is necessary to specify the full filenames of the files you want to compile, even if you have specified the classpath. By default, javac will put compiled class files in the same location as their sources, so the classpath for the java command should also contain C:\src.
    The exception to the rule is when all classes for the program are in the default package (i.e., they do NOT contain a package statement). In that case, it is possible for javac (and I believe java as well) to find all classes in the current directory, so it will "just work".
    You can specify the classpath using the -cp parameter to both javac and java.
    Hope this helps.

  • Question about users

    Hello,
    after installing oracle database ii saw that there are numerous default users (for example: DMSYS, HR, IX, CTXSYS, WMSYS, XDB, and so on..). if i don't need these users can i delete them? or what's the sense having those users? what they are for? i wanna have just those users i need, so for example i have an organization and i created a user for each employee. i don't need all other users
    Please clarify me..
    Regards,

    Roger22,
    Every username ending in SYS owns the repository for an Oracle provided facility.
    DMSYS is for datamining, CTXSYS is for Oracle Text, WMSYS is for Workspace Manager, etc.
    Apart from the fact you can not 'delete users', there is a DROP USER ... CASCADE statement,
    these facilities have their own de-installation procedure, which you can run by starting up dbca and choose for 'Edit Database' and disable the appropiate question.
    The nature of your question betrays you seem to plan to abuse this forum as a free documentation abstraction service.
    Could you please refer to http://tahiti.oracle.com first, this will resolve your questions quicker, and you will actually learn something.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

Maybe you are looking for

  • Wi-fi kept spamming me with "success" dialog box

    Hi, I'm currently accessing internet using my mobile phone tethering and connect it to my macbook pro through wi-fi. I kept getting spammed from time to time by dialog box containing the word "success" and on the bottom there is this link https://www

  • Support information!!

    I sent my iPhone to service last Friday, even though the state of repair is still Diagnosis in-progress.What i can do??Thx

  • Scrolling and Dragging

    Hi, I'm a little frustrated with the tablet and am using my laptop to type this. My playbook cursor keeps jumping from subject to content and back as I'm trying to type in the content window. My original problem is the webpage dragging as I'm trying

  • Grid Control and RAC

    I've installed the agent on my RAC which consists of two nodes..but i'm seeing more than one agent on each node...why is that? Does someone have a document or a link to something that shows Grid Control managing a RAC? I've looked at the GC installat

  • Cannot send attachments with mail

    All of a sudden I cannot longer send attachments using the Mail app in OS 10.8.4  Any attachment, any file, any type, using the iCloud server or my internet provider, Mediacom. Any help? Thanks.