How user OID (or other ldap) users with JAAS in my JEE application?
Hy people,
I'm developing a JEE application and for secuity I'm using JAAS, but I would like use users from my OID to authenticate. Is it possible? Can someone help me?
Thanks!!!
Regards,
Hi, me again.
It's possible. Just need configure the realm in Weblogic, configure your JAAS security in application. The realm name must be the same in application and WL.
Just this.
Thks!
Similar Messages
-
Other LDAP servers with Oracle ?
Hi,
We plan to integrate further ldap in our enterprise and
specially with oracle databases (configuration, security
issues). Oracle provide his own LDAP server know as OID, but can
we use an other ldap server to store Oracle specific ldap datas ?
We have to consider ldap for windows (Active Directory), for
mail purpose (postfix) and for database logon and configuration.
We don't want to have Active Directory plus OID plus Netscape
LDAP plus Openldap ... We want to use ldap protocols and data
that fits in an integrated directory for entreprise use.
So can we deploy another directory server behind Oracle ldap
clients functionalities ?
Thank in advance for your help ,-)Hello aymeric,
The wonderful thing about LDAP is that it is a protocol standard
governed by the IETF. So migrating from one server to another
should be relatively easy. Since version 3.0.1, OID has a Meta
Directory or as it is sometimes refered to as the Directory
Integration server built into it which allows you to create
custom connectors to synchronize OID with just about any type of
data repository.
Can you give me a specific example of what you want to migrate?
Obviously I cannot vouch for the capabilities of other LDAP
servers regarding this subject.
Thanks,
Jay -
Help with testing a live jee application...
I cant figure this out..
I am using netbeans and my JEE application seems to work fine in the netbeans IDE. I then move to the glassfish v2 server and deploy the .ear which contains
a single war with sevlet and jsp's. Testing a live version of war works 100% as intended but issues occur when running my app-client and the following is thrown...
yucca@yucca-laptop:~/Desktop$ java -jar CCDEnterprise-app-client.jar
Sep 5, 2009 2:46:19 PM ccd.client.gui.ApplicationStarter$1 uncaughtException
SEVERE: ccd/domain/utilities/PhoneType
java.lang.NoClassDefFoundError: ccd/domain/utilities/PhoneType
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethod(Class.java:1935)
at java.awt.Component.isCoalesceEventsOverriden(Component.java:5948)
at java.awt.Component.access$500(Component.java:169)
at java.awt.Component$3.run(Component.java:5902)
at java.awt.Component$3.run(Component.java:5900)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Component.checkCoalescing(Component.java:5899)
at java.awt.Component.<init>(Component.java:5868)
at java.awt.Container.<init>(Container.java:251)
at java.awt.Window.<init>(Window.java:430)
at java.awt.Frame.<init>(Frame.java:403)
at javax.swing.JFrame.<init>(JFrame.java:207)
at ccd.client.gui.MainWindow.<init>(MainWindow.java:121)
at ccd.client.gui.ApplicationStarter.<init>(ApplicationStarter.java:92)
at ccd.client.gui.ApplicationStarter.<init>(ApplicationStarter.java:53)
at ccd.client.gui.ApplicationStarter.main(ApplicationStarter.java:42)
Caused by: java.lang.ClassNotFoundException: ccd.domain.utilities.PhoneType
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 18 moreMy classpaths, paths are all set as follows:
JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.14"
CLASSPATH="/home/yucca/SUNWappserver/lib/j2ee.jar"
JDK_HOME="/usr/lib/jvm/java-6-sun-1.6.0.14"
IDEA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.14"I keep getting no class def found and have tried various workarounds but too much hacking away has lead me to believe that something needs attention...
Any help or suggestions would be appreciated.The %CLASSPATH% environment variable is totally ignored by anything else than the java/javac without the -cp, -classpath and -jar arguments.
In case of a webapplication, you need to include third party libraries in WEB-INF/lib. -
How do I populate my LDAP store with JMQ users?
I'm working on a project and I would like to implement JMQ as the messageing
backbone for all the components.
I'm a bit stuck in that I'm trying to create the propler LDAP entries in my
LDAP database so I can use jmqobjmgr to add a connection factory and a topic
to the LDAP directory. The JMQ Admin guide gives the jmqobjmgr commands but I
could use a little guidance in setting up my LDAP database.We didn't really cover the directory server setup because it varies so
much from directory server to directory server. In the future it is likely
we will provide an FAQ about how to setup LDAP relative to the iPlanet
Directory Server.
How do I store administered objects in an LDAP server?
The current supported object store for jmqobjmgr and jmqadmin is a file system or an LDAP server.
In order to store administered objects in an LDAP server, one needs to understand some basics of the LDAP (Lightweight Directory Access
Protocol) as well as the object store setup in general.
What is a Lookup Name?
A lookup name is a name given to an administered object when storing the object in an LDAP server. In an LDAP object store, the lookup
name must begin with "cn=". The following are valid lookup names for an LDAP object store.
cn=myTopic
cn=queue
What is "cn" and Why "cn"?
"cn" stands for "commonName" in LDAP. The "commonName" attribute contains a name of an object. When storing an administered object,
the cn attribute should be set. This is because every administered object inherits a javacontainer object class and the cn is a mandatory
attribute for the javacontainer object class.
Technically speaking, if one sets the cn attribute separately when creating an administered object, the lookup name does not have to begin
with "cn=". However, the admin group decided to keep things simple by requiring that the lookup
name begin with "cn=" therefore eliminating
an extra step to set the cn attribute. We have also observed different behaviors in different implementations of publicly available LDAP servers
when "cn=" was not a part of the lookup name.
What do I need to do to setup an LDAP object store?
One must set two JNDI attributes when using an LDAP server for the object store. These attributes are:
java.naming.factory.initial
java.naming.provider.url
When using the service provider implementation provided by the bundle, java.naming.factory.initial should be set to
com.sun.jndi.ldap.LdapCtxFactory.
The url is dependent on the setup of the LDAP server.
An example url would look something like the following:
java.naming.provider.url=ldap://mydomain.com:389/o=JMQ
If the LDAP server is secured, one will also need to set additional JNDI attributes. Such common attributes are:
java.naming.security.authentication
java.naming.security.principal
java.naming.security.credentials
Authentication refers to a string specifying the type of authentication to use;
one of "none", "simple", "strong", or a provider-specific string.
Principal refers to a string that specifies the identity of the entity
performing the authentication.
Credentials refers to an object specifying the credentials of the entity
performing the authentication.
Some examples of these attributes may look like:
java.naming.security.authentication=simple
java.naming.security.principal=uid=fooUser, ou=People, o=JMQ
java.naming.security.credentials=fooPasswd
One should consult the LDAP documentation for further details.
I checked my LDAP server's schema definitions and I didn't see any java related object classes. How can I install them?
iPlanet Directory Server 4.11 and higher has the proper java schema pre-installed. If these could not be located in the schema definitions, one
can run the CreateJavaSchema java program located at the following url to install appropriate java schema.
http://java.sun.com/products/jndi/tutorial/basics/prepare/content.html#SCHEMA -
How can I execute a java class with arguments from an air application built from mxml?
I have an mxml application. It has a button, and when that button select event occurs, I want my mxml air app to pass arguments to a java class I have built, which resides in a package path on my system. I need to be able to pass several arguments to my java method from my mxml call. How do I do this, and what config files are necessary? For the simple task I want to engineer, can you show me an example of a properly configured config file? My java class has been executed at the command line in the past as follows:
java -cp %CP% com.abc.prism.queue.EmitMessage XYZ "my message text" 192.12.13.14 5672
where %CP% is an env variable that tells my class the classpath it runs with, and XYZ, "my message text", the IP address, and the port are the arguments I must pass from mxml to my java class. How do I accomplish this?
How do I make known to the java class I call from mxml the %CP% class path? It tells my java class where to find various rabbitMQ jars.Hi,
You need to use Integration technology like BlazeDS or LCDS. -
Hi,
After the update 1 on windows 8.1. All of our domain users get "you cannot access the windows store because you're signed in to this pc using a temporary or guest account......" while opening windows 8.1 store. All my users use mandatory
profiles. Could some one guide me onto:
-how and what changes should I make on my base image of 8.1?
-how/where what changes should I make on the domain in Group policy to make my profiles work?
-I also run sccm 2012 R2 if that makes the things easier I can use it for deploying store apps, but I prefer to make a base windows 8.1 image throw all required apps on it. I would like to make sure that my domain user can open up windows store after
that I can capture this image and deploy.
Need help thanks
Note: Before this update 1 of windows 8.1 things worked great.Thanks Kate Li,
Domain profile is not corrupt. I have checked the registry settings. In my question I am mentioning that I am using mandatory profiles for domain users. Need help.
I am on update 2 now and the same error for domain users with mandatory profiles.
Also error 1001 is generated every time the user tries to open the store(the user with mandatory profile)
Log Name: Application
Source: Windows Error Reporting
Date: 9/30/2014 8:52:17 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: TCO-TTTEST.mydomain.com
Description:
Fault bucket , type 0
Event Name: WWAJSE
Response: Not available
Cab Id: 0
Problem signature:
P1: winstore_1.0.0.0_neutral_neutral_cw5n1h2txyewy
P2: Windows.Store
P3: 3e43
P4: FFFFFFFE
P5: (null)
P6: 0_0
P7:
P8:
P9:
P10:
Attached files:
ErrorInfo.5160.3992.txt
C:\Windows\WinStore\AppXManifest.xml
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: 9b46f622-48a0-11e4-bec5-6036dd67e10b
Report Status: 262144
Hashed bucket:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-09-30T12:52:17.000000000Z" />
<EventRecordID>366588</EventRecordID>
<Channel>Application</Channel>
<Computer>TCO-TTTEST.mydomain.com</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>WWAJSE</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>winstore_1.0.0.0_neutral_neutral_cw5n1h2txyewy</Data>
<Data>Windows.Store</Data>
<Data>3e43</Data>
<Data>FFFFFFFE</Data>
<Data>(null)</Data>
<Data>0_0</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
ErrorInfo.5160.3992.txt
C:\Windows\WinStore\AppXManifest.xml</Data>
<Data>
</Data>
<Data>
</Data>
<Data>0</Data>
<Data>9b46f622-48a0-11e4-bec5-6036dd67e10b</Data>
<Data>262144</Data>
<Data>
</Data>
</EventData>
</Event>
Thanks
Followed :
http://support2.microsoft.com/kb/2890783 Made a brand new profile. No luck same error. -
Authentication of portal users with uid on oid/ldap
All works fine with authenticating users created on DAS that have
dn: cn=%LDAP_USER%,cn=users,dc=edmunds,dc=com
When I migrated user to portal schema, the auth fails. The portal schema has user dn string
uid=%LDAP_USER%, ou=people, dc=edmunds, dc=com
I got this dn string from export to ldif file. The portal user can log in to DAS.
We are using HTMLdb 1.6 and I used
LDAP Host[LDAP Test Tool] at /htmldb/f?p=4000:802 to test the parameters.
How to make this uid dn work with AppEx?
Thanks.Kenny,
I would forget about using the is_member function for authentication until you achieve what you need directly with dbms_ldap. You can experiment with an anonymous block in SQL*Plus starting with this sample code until you can get the simple_bind_s to work with your parameters:set serveroutput on
declare
l_retval pls_integer;
l_retval2 pls_integer;
l_session dbms_ldap.session;
l_ldap_host varchar2(256);
l_ldap_port varchar2(256);
l_ldap_user varchar2(256) := 'FIRSTNAME_LASTNAME'; -- enter username in this format
l_ldap_passwd varchar2(256) := 'PASSWORD'; -- enter password
l_ldap_base varchar2(256);
begin
l_retval := -1;
dbms_ldap.use_exception := TRUE;
l_ldap_host := 'ldap-host.some-domain.com';
l_ldap_port := '389';
l_ldap_user := 'cn='||l_ldap_user||',l=amer,dc=oracle,dc=com';
l_session := dbms_ldap.init( l_ldap_host, l_ldap_port );
l_retval := dbms_ldap.simple_bind_s( l_session, l_ldap_user, l_ldap_passwd );
dbms_output.put_line( 'Return value: ' || l_retval );
l_retval2 := dbms_ldap.unbind_s( l_session );
exception when others
then
dbms_output.put_line (rpad('ldap session ',25,' ') || ': ' ||
rawtohex(substr(l_session,1,8)) || '(returned from init)');
dbms_output.put_line( 'error: ' || sqlerrm||' '||sqlcode );
dbms_output.put_line( 'user: ' || l_ldap_user );
dbms_output.put_line( 'host: ' || l_ldap_host );
dbms_output.put_line( 'port: ' || l_ldap_port );
l_retval := dbms_ldap.unbind_s( l_session );
end;
/Scott -
How do I share the iTunes library with all/some of the other users on the same iMac?
How do I share the iTunes library with all/some of the other users on the same iMac?
Check out these articles it may help...
http://support.apple.com/kb/HT3819
http://www.apple.com/itunes/how-to/#playlists-shareplaylists
hope this helps. -
How to "not" share FCP Plug-ins with other users
I'm Installing FCP on a new Intelmac. Several users/editors will use the computer in the editsuite.
how can you install your FCP plugins so that they only load if your loggin with your useraccount.
in other words how to NOT share your plug-ins with other useraccounts.... ?
2.5 GHz dual Quad G5 + 933 QuickSilver G4 Mac OS X (10.4.9) 2x 23" Cinadisplay, Digidesign Digi 002RHello
Hopefully I'm not infringing the Terms Of Use by asking you to have a look at THIS PAGE of the Apple Discussions guide.
Regards,
J -
How to map the bulk users with the required roles in portal at one time
Hi,
Would anyone tell me how to map the bulk users with the required roles in portal at one time?Thanks for all the reply.
<b>I need to assign 1 or 2 group to n((eg) 1000)number of users</b>
I tried the first option like
[group]
gid=
gdesc=
user=
Thr problem with this is I could n't put more no of users in the notepad.
I would be able to put only 150 users in the single line of notepad. If it goes to next line it is not working.
I tried creating seperate notepad but in Import it says "exists"
I'm not sure about LDAP. Would anyone explain me the best approach to do this. -
How to provide the user with a list of files to pick from...for downloading
hai..
I have uploaded the file succesfully.. now we need to download the file...... which has been uploaded..... for that we have implemnted the Query as..
select max(id) from APEX_APPLICATION_FILES ,here the latest uploaded record will be retrieved and shown.
Now We want to provide the user with a list of files to pick from for downloading..,Dat is he should be shown the list of files which is available from dat he has to select one file to downlaod ???
can u plz tell me how to do it....
anooHi Anoo,
Create a report using the following SQL statement:
SELECT ID,
FILENAME,
CREATED_ON
FROM APEX_APPLICATION_FILES
ORDER BY CREATED_ON DESCThere are other fields available from the table, but the above gives you a start.
Then edit the report's Report Attributes.
Edit the CREATED_ON column and pick a Number/Date Format to use for the display and Apply Changes
Edit the ID column. In the Column Link section, enter:
Link Text: <img src="#IMAGE_PREFIX#download.gif" alt="Download">
Target: URL
URL: p?n=#ID#
Apply Changes and run your report
Andy -
i have two users with different music on each itunes and i can only use one library, how do i use both for one iTouch?
Chris, I believe this link may have the information you're looking for. Welcome to discussions!
http://docs.info.apple.com/article.html?artnum=300432 -
I am a new iPad user and have transferred my iTunes library from my laptop. How do I sync my iPod touch with my ipad
You don't. You synch your iPod to your computer. There's no way to synch from iPad to iPod. You can tranfer the same playlists to your iPod from the computer.
-
How can I share my iTunes library with another user on my laptop?
How can I share my itunes library with another user on my laptop?
If you type "Shore itunes library" into the search bar at the top of this page by "Support" you will find:
iTunes: How to share music between different accounts on a single computer -
i bought a new iphone and as i was setting my apple ID account and i signed in to my account and confirmed two useres with diffrent numbers that were signed to the same apple ID and it messed up my i messege and face time. how do i fix that or delete one user ?
Hello sapiii96,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iOS: Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/ts4268
To sign out of your Apple ID
Go to Settings > FaceTime, tap your Apple ID, and select Sign Out.
Go to Settings > Messages > Send & Receive, tap your Apple ID, and select Sign Out.
Best of luck,
Mario
Maybe you are looking for
-
Upgrading Logic and Mac at the same time?
Hey, I need a bit of help. I am curenttly running Logic 7 on a 2.0 dual core powermac G5. When Apple release the penryn chips I will sell my G5 and get a new mac book pro. I want to upgrade to Logic 8 (the UK upgrade price is about £130). However wou
-
After Effects CS5.5 - Very Serious Performance Issues w/RAM Preview
My system: Windows 7 Professional, two Intel Xeon X5650's, 12GB RAM, and a NVIDIA Quadro FX 4800. Problem: RAM Preview in CS5.5 gives me less than 2 fps (yes---two frames per second). This is even with the most simple of compositions. I created a 108
-
Processing large message payload with weblogic JMS
Hi, I have a requirement in my project to process 50MB-500MG-1GB file using the JMS queue. We could able to process 50MB payload but it's talking almost 2-3min to post the message and 2-4min to consume the message. Are there any configurable paramete
-
Unknown User Permissions - Erase and Install Backup Plan
Hi everyone, I upgraded from Tiger and therefore have the unknown user permissions problems. I'd like to erase and install my system and am writing to verify the following: If I copy my data (with the funny permissions) to a Powerbook in Firewire Dis
-
Modify Partner Function from Header level to Item level
Hello experts, A help please!!! Scenery: I need to have: - When I create a Sales Order, I can have differents Carrier Partner Fuction for each line. Currently we have a Partner Function (Carrier) defined at Header Level. I need to modify it in order