You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Johan Edstrom (JIRA)" <ji...@apache.org> on 2010/02/23 07:40:40 UTC
[jira] Commented: (SMX4-490) JAAS dynamic deployment does not
register a Tracking reference
[ https://issues.apache.org/activemq/browse/SMX4-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57788#action_57788 ]
Johan Edstrom commented on SMX4-490:
------------------------------------
Testing this is as simple as trying to do the following in a BundleActivator
LoginContext lc;{
try {
lc = new LoginContext("jaas-context");
System.out.print("Wheee" + lc.toString());
} catch (LoginException e) {
e.printStackTrace(); //TODO
}
}
If the context was not registered you'll get :
javax.security.auth.login.LoginException: No LoginModules configured for jaas-context
> JAAS dynamic deployment does not register a Tracking reference
> --------------------------------------------------------------
>
> Key: SMX4-490
> URL: https://issues.apache.org/activemq/browse/SMX4-490
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Environment: Karaf
> Karaf home /Users/joed/Downloads/apache-servicemix-4.2.0-fuse-01-00
> Karaf base /Users/joed/Downloads/apache-servicemix-4.2.0-fuse-01-00
> OSGi Framework org.eclipse.osgi - 3.5.1.R35x_v20090827
> JVM
> Java Virtual Machine Java HotSpot(TM) 64-Bit Server VM version 14.3-b01-101
> Vendor Apple Inc.
> Uptime 21 minutes
> Total compile time 28.044 seconds
> Threads
> Live threads 88
> Daemon threads 40
> Peak 92
> Total started 264
> Memory
> Current heap size 55,403 kbytes
> Maximum heap size 466,048 kbytes
> Committed heap size 238,528 kbytes
> Pending objects 0
> Garbage collector Name = 'PS Scavenge', Collections = 11, Time = 0.540 seconds
> Garbage collector Name = 'PS MarkSweep', Collections = 1, Time = 0.117 seconds
> Classes
> Current classes loaded 7,624
> Total classes loaded 7,625
> Total classes unloaded 1
> Operating system
> Name Mac OS X version 10.6.2
> Architecture x86_64
> Processors 2
> karaf@root> [2010-02-22 23:30:09.303] DEBUG MQ Journal Checkpoint Worker org.eclipse.osgi.framework.internal.core.BundleHost - Checkpoint started.
> [2010-02-22 23:30:09.305] DEBUG MQ Journal Checkpoint
> Reporter: Johan Edstrom
> Priority: Minor
> Attachments: jaas.tar.gz, ncar-jaas.xml
>
>
> When deploying via the deploy directory a blueprint file such as jaas-contex.xml (Attached) the service is created, a Tracking reference is not, thus the Jaas realm is not available for usage.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.