Default principal validation provider

Hello,
I wonder if sombody can tell me if instances of the principal class I have attached
to this post will be validated by the default principal validation provider???
package org.rps.weblogic.security.principal;
import org.rps.security.spi.RPSGroup;
import weblogic.security.principal.WLSAbstractPrincipal;
import weblogic.security.spi.WLSGroup
* <p>An implementation of a Group principal that will be validated
* by the default weblogic Principal Validation Provider in Weblogic
* Server.</p>
* @author Troy Hart
public
class RPS_WLSGroupImpl
extends WLSAbstractPrincipal
implements WLSGroup, RPSGroup
public
RPS_WLSGroupImpl(String groupName)
super(groupName);
Many Thanks!!!
Troy

The format of the pasted code should look better in this reply....
"troy hart" <[email protected]> wrote:
>
Hello,
I wonder if sombody can tell me if instances of the principal class I
have attached
to this post will be validated by the default principal validation provider???
package org.rps.weblogic.security.principal;
import org.rps.security.spi.RPSGroup;
import weblogic.security.principal.WLSAbstractPrincipal;
import weblogic.security.spi.WLSGroup
* <p>An implementation of a Group principal that will be
* validated by the default weblogic Principal Validation
* Provider in Weblogic Server.</p>
* @author Troy Hart
public
class RPS_WLSGroupImpl
extends WLSAbstractPrincipal
implements WLSGroup, RPSGroup
public
RPS_WLSGroupImpl(String groupName)
super(groupName);
Many Thanks!!!
Troy

Similar Messages

  • Principal validation provider

    I have my customized principal validation provider and
    customized principal class. Both of them
    are now included in the MBean.jar file.
    The problem is that
    NoClassDefFound exception happens when
    the FAT client tries to look up EJB home using
    the subject(that contains customized principal).
    I have tried different ways of jaring my classes.
    I tried to put an extra jar on the class path after
    weblogic.jar. Still no luck.
    I have exhausted all the means possible to me.
    Can Bea support people step up and help us ?

    The format of the pasted code should look better in this reply....
    "troy hart" <[email protected]> wrote:
    >
    Hello,
    I wonder if sombody can tell me if instances of the principal class I
    have attached
    to this post will be validated by the default principal validation provider???
    package org.rps.weblogic.security.principal;
    import org.rps.security.spi.RPSGroup;
    import weblogic.security.principal.WLSAbstractPrincipal;
    import weblogic.security.spi.WLSGroup
    * <p>An implementation of a Group principal that will be
    * validated by the default weblogic Principal Validation
    * Provider in Weblogic Server.</p>
    * @author Troy Hart
    public
    class RPS_WLSGroupImpl
    extends WLSAbstractPrincipal
    implements WLSGroup, RPSGroup
    public
    RPS_WLSGroupImpl(String groupName)
    super(groupName);
    Many Thanks!!!
    Troy

  • Validation Provider in GTC

    Hi,
    I would like to add a validation provider "IsNotBlankOrNull" in my GTC attributes.May I know what step I need to follow to do this? (Do I need to write any Java Code etc? ).Thanks.

    Navigate to the attirbute mapping screen of your GTC, STEP 3 to be precise. Under the source attributes, select the attribute you want to validate and click the Edit link --> hit continue --> in the drop down select the validator you want to add and save it.

  • Defaulting the Service Provider for the receipts pulled from credit card

    Hi,
    When the Associate goes on a business trip , some of the expenses are processed through the AMEX corporate credit card. Using a custom PRCC , these credit card transactions are uploaded into the system and are available as buffer during the trip creation. Associates creates the trip using ESS Portal. When the Associate selects the expense from the credit card buffer , we want the Service Provider to be defaulted to AX (AMEX). The service provider code for AMEX is configured as AX.
    In the following configuration (Travel Expenses->Master Data->Credit Card Clearing->Define Assignment Table for Credit Card Clearing , we updated the Service Provider as AX for all the expense types related to AMEX.
    Now we notice that AX is not defaulted in the Service Provider when the Associates pulls the expense from the AMEX credit card buffer.
    Is there a way to default the service provider for all the expenses pulled from the credit card buffer?
    Thanks
    Sukumar

    Hi Nandagopal,
    You are right that the origin column has Amex logo when selected from the Buffer. We are using Service provider in determining who the payment should go to. If the expense is from the credit card buffer , the payment should go to AMEX directly. If the expense is non-AMEX (i.e manual entry and not from buffer) , then the payment will go to the employee themselves. Different wage types are determined based on the Service Provider for the same expense type. For example for expense type ACAR (Rental) , if the Service Provider is AX , then wage type say WJ67 is selected by the system . For expense type ACAR and no Service provider , then wage type WJ17 is derived. The accounting is determined based on the wage type.
    So Service Provider is one of the key field that determines the accounting. When the associate selects from credit card buffer , the associate should also select the service provider as AX so that payment goes to AMEX. If the Associate forgets to select the service provider , then the payment goes to the Employee. Then the employee has to pay AMEX separately. In order to avoid this, we want to default the service provider as AX when the associate pulls from the credit card buffer.
    We maintained the default service provider as AX for AMEX credit card clearing in img node Travel Expenses->Master Data->Credit Card Clearing->Define Assignment Table for Credit Card clearing. In this node we link the credit card company transaction keys to SAP expense type and you have the option to select the Service Provider. But his default is not working in Portal.
    Please let me know if this default setting should work.
    Thanks
    Sukumar

  • SMTP Email Destination Default Settings Valid

    Can some one help me how to set the SMTP Email Destination Default Settings Valid status in metrics tab of DesktopJob Server from false to true?

    In the CMC:
    1. Go to Servers.
    2. Right-click on the Destination Job Server and select Properties.
    3. Select "Destination".
    4. Make sure that "Email" is one of the configured destinations. If it's not, you'll need to add it. If it is, you need to make sure it's configured correctly.
    5. Right-click on the Crystal Job Server and select Properties.
    6. Select 'Destination".
    7. Make sure that "Email" is one of the configured destinations. If it's not, you'll need to add it. If it is, you need to make sure it's configured correctly.
    Now you can reschedule your report.
    have a look into below link. This may also help you out.
    http://www.forumtopics.com/busobj/viewtopic.php?t=166577&start=0&postdays=0&postorder=asc&sid=9c78ea57cbde41c740bdd27054a42ce9
    it is necessary to enable the targer email in the following Servers
    - AdaptiveJobServer
    - DestinationJobServer
    - PublicationJobServer

  • How do I change my default e-mail provider to yahoo instead of windows live on windows 7

    everytime I try to send an email  from internet explorer it says my default mail provider is not installed correctly

    Download Yahoo! Toolbar from http://toolbar.yahoo.com and install it. During installation you will be asked if you want to make yahoo mail your default email.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • Set default Button and provide a KeyEvent to a component with focus !!!

    What is to do ???
    I have following program:
    public class DefaultButton extends Frame implements ActionListener
         private Button close;
         public DefaultButton()
              super("Default-Button");
              setLayout(null);
              setSize(400, 200);
              setLocation(150, 100);
              setBackground(Color.lightGray);
              addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent e)
                        setVisible(false);
                        dispose();
                        System.exit(0);
              // CloseButton
              close = new Button("Close");
              close.addActionListener(this);
              close.setVisible(true);
              close.setSize(100, 30);
              close.setLocation(290, 160);
              add(close);
              setVisible(true);
         public void actionPerformed(ActionEvent e)
              String cmd = e.getActionCommand();
              if (cmd.equals("Close"))
                   setVisible(false);
                   dispose();
                   System.exit(0);
         public static void main(String [] args)
              DefaultButton wnd = new DefaultButton();
    }If I click on "Close"-button, the window will be closed. But, if the button "Close" has focus, it schold be possibile to close the window with a press on the Enter-Key? How to do it? How can I provide an KeyEvent to button "Close"?
    Tanks for any help.

    Hi pitalica!
    It is possible using KeyListener:
    public class DefaultButton extends Frame implements ActionListener, KeyListener {
    close.addKeyListener(this);
    public void keyPressed(KeyEvent e) {
    if ((e.getSource() instanceof Button)
    && (((Button) e.getSource()).getActionCommand == "Close")) {
    int kc = e.getKeyCode();
    if (kc == KeyEvent.VK_ENTER) {
    performs any action
    public void keyTyped(KeyEvent e) {}
    public void keyReleased(KeyEvent e) {}
    I hope it helps.

  • Validation provider in CSV GTC in OIM

    Hi,
    We are trying to restrict status code coming from the feed file to 0,1,2,3 only.
    So, I am including a validation check - "Is in Range" and provide max limit as '3' and min limit as '0' and data type as 'integer'.
    But even if I provide status code value as '3' and try to run the reconciliation task - it throws error:
    "Validation Failed. Cannot reconcile"
    Please suggest.

    Remove the "Is in Range" validation.
    Put the validation "Match Regular Expression" and use the value as 0|1|2|3
    ~Ketan

  • Defaulting to email provider page

    Even though I've added all my email accounts, my iPad often defaults to the email provider page. The only way I've found to get back to email is to add an existing account then subsequently deleting it.
    I also then get messages from 'no sender' dated Jan 1970 which Icannot delete but often vanish of their own accord.

    My email accounts were set up and operated perfectly until reecently. When I now access the mail app often the page opens with the list of email providers . I cannot get past this to open my email accounts. I have on occasion closed an email account and re-entered it; I've also gone to settings and closed all email accounts and then opened them. Sometimes these actions work but at present nothing works and I cannot receive or send emails.
    Any help will be appreciated.
    Greysurfer4

  • How to customize the code for default scroll buttons provided in the table?

    Hi Everyone,
    I want to customize the code for default 'next page' navigation button provided in a table. If this is possible then how it can be done?
    Thanks,
    Swati

    do you mean 'footer' of table, which used to scroll table contents?
    Table footer button is not editable.
    Instead you can try buttons in the table tool bar and can swap elements in the table.And also table footer can be set to showfootoer: false.
    refer thread: [Table Element Swapping|Re: Table with special requirement]
    nikhil

  • How to turn off default attribute "Validity" in a web-report

    Hi Experts,
    We are using 0ORGUNIT with time-dependent hierarchy. This hierarchy is included in most of our reports. When we run a report with 0ORGUNIT hierarchy an attribute "Validity" is always shown next to the hierarchy. We can manually remove this every time it is shown, but is there a standard way to suppress the "Validity" attribute?
    Note that in the back-end (RSA1) the InfoObject 0ORGUNIT does not have any (visible) attribute called "Validity". This attribute is only available in the attributes list of 0ORGUNIT at the time the report is generated.
    Your help is highly appreciated.
    Kind regards,
    H. Bui

    Save is "Command ("Apple Key")-S" not "Control-S". Are you sure you are not using that "other" OS?

  • Extend WL Authentication Provider Password Validation

    Hi folks
    I'm looking for any advice on how to extend the OOB password validation that is available and documented here:
    http://docs.oracle.com/cd/E12840_01/wls/docs103/secmanage/atn.html#wp1212100
    Specifically we'd like to test whether the desired password has been used in the last 8 they've used and also to enforce that it expire after x days. Any pointers would be much appreciated.
    Thanks,
    Paul

    1- How can an authentication provider supports password validation providers ?
    We decided to make our own authentication provider so I doubt we support it
    Yes, your custom authentication provider will not support it.
    2- How it is suppose to work ?
    Now, when a user change his password (or any of his attributes), we call a stored procedure (DB) which updates the user table ...
    The way I see it, the web application should call the password validation provider before (or instead and then the provider will call the stored procedure)
    Have u configured the a databse authenticator? Looks like you are modifying the password in the database directly ( using stored procedures) so Password Validator will not come in picture at all.

  • No provision to provide Tool tip for Default Panel Collection Components

    "View" is a default menu item provided by Panel Collection Component. The "shortDesc" property can set the tool tip for entire panel collection.
    How to set the tool tip specifically for the default components given by panel collection component ?

    Hi,
    panel collection labels and tool tips can be changed through skinning See http://docs.oracle.com/cd/E21764_01/apirefs.1111/e15862/toc.htm and search for af:panelCollection and go to the Resource String section. So far the good news. The bad news is that there is no skin selector to change the tool tip of the "View" menu option (though yo can change the label through af_panelCollection.LABEL_MENU_VIEW). If you need this, please file an enhancement request through customer support.
    Frank
    Ps.: Skinning is documented here: http://docs.oracle.com/cd/E21764_01/web.1111/b31973/af_skin.htm#BAJFEFCJ

  • Default Item Master Valid Checkbox

    Hi Experts,
    Is it possible to default the Valid checkbox (as checked) for all new items in the item master?
    Thanks,
    Jane

    Hello Jane,
    i dont think it is possible to make it default as checked since the valid tick box has a special function that Determines the validity period of an item master data.
    hope this may help u.
    Fidel

  • SecurityException (Invalid Subject) with custom database authentication provider WLS 7.0

    Hello
    I have implemented a custom authentication provider using a
    database. The login module works fine. It check the username and
    password, add the user as a WLSUser-principal and add the groups
    relatated to the user as WLSGroup-principals to the subject. I
    am able to start the WLS only using my authentication provider,
    but if i want to login into the console i get following
    SecurityException:
    java.lang.SecurityException: Invalid Subject: principals=
    [system, Administrators]
    at weblogic.security.service.SecurityServiceManager.seal
    (SecurityServiceManager.java:893)
    at weblogic.security.service.RoleManager.getRoles
    (RoleManager.java:269)
    at
    weblogic.security.service.AuthorizationManager.isAccessAllowed
    (AuthorizationManager.java:608)
    at
    weblogic.servlet.security.internal.WebAppSecurity.hasPermission
    (WebAppSecurity.java:370)
    at
    weblogic.servlet.security.internal.SecurityModule.checkPerm
    (SecurityModule.java:125)
    at
    weblogic.servlet.security.internal.FormSecurityModule.checkUserPe
    rm(FormSecurityModule.java:328)
    at
    weblogic.servlet.security.internal.SecurityModule.beginCheck
    (SecurityModule.java:179)
    at
    weblogic.servlet.security.internal.FormSecurityModule.checkA
    (FormSecurityModule.java:167)
    at
    weblogic.servlet.security.internal.ServletSecurityManager.checkAc
    cess(ServletSecurityManager.java:185)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet
    (WebAppServletContext.java:2960)
    at weblogic.servlet.internal.ServletRequestImpl.execute
    (ServletRequestImpl.java:2466)
    at weblogic.kernel.ExecuteThread.execute
    (ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run
    (ExecuteThread.java:133)
    Seems to me, that the default role manager does not map the
    group Administrators to the role Admin, which is allowed to
    access the resource console. So, what i do wrong? Must i set
    additional credentials to the subject? Or must i use a special
    Principal class? Who can help me?
    Thanks in advance & greetings
    Dirk Fellenstein

    I have solved it. The Problem was that the two Principal implementations, one that
    implements WLSGroup and one that implements WLSUser, need a common principal base
    class. The principal validator class, method getPrincipalBaseClass() must then return
    the common principal base class.
    "Dirk Fellenstein" <[email protected]> wrote:
    >
    Hello
    I have implemented a custom authentication provider using a
    database. The login module works fine. It check the username and
    password, add the user as a WLSUser-principal and add the groups
    relatated to the user as WLSGroup-principals to the subject. I
    am able to start the WLS only using my authentication provider,
    but if i want to login into the console i get following
    SecurityException:
    java.lang.SecurityException: Invalid Subject: principals=
    [system, Administrators]
    at weblogic.security.service.SecurityServiceManager.seal
    (SecurityServiceManager.java:893)
    at weblogic.security.service.RoleManager.getRoles
    (RoleManager.java:269)
    at
    weblogic.security.service.AuthorizationManager.isAccessAllowed
    (AuthorizationManager.java:608)
    at
    weblogic.servlet.security.internal.WebAppSecurity.hasPermission
    (WebAppSecurity.java:370)
    at
    weblogic.servlet.security.internal.SecurityModule.checkPerm
    (SecurityModule.java:125)
    at
    weblogic.servlet.security.internal.FormSecurityModule.checkUserPe
    rm(FormSecurityModule.java:328)
    at
    weblogic.servlet.security.internal.SecurityModule.beginCheck
    (SecurityModule.java:179)
    at
    weblogic.servlet.security.internal.FormSecurityModule.checkA
    (FormSecurityModule.java:167)
    at
    weblogic.servlet.security.internal.ServletSecurityManager.checkAc
    cess(ServletSecurityManager.java:185)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet
    (WebAppServletContext.java:2960)
    at weblogic.servlet.internal.ServletRequestImpl.execute
    (ServletRequestImpl.java:2466)
    at weblogic.kernel.ExecuteThread.execute
    (ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run
    (ExecuteThread.java:133)
    Seems to me, that the default role manager does not map the
    group Administrators to the role Admin, which is allowed to
    access the resource console. So, what i do wrong? Must i set
    additional credentials to the subject? Or must i use a special
    Principal class? Who can help me?
    Thanks in advance & greetings
    Dirk Fellenstein

Maybe you are looking for