[PicketBox Development] - PicketBox Development Chat Transcript
by Anil Saldhana
Anil Saldhana [https://community.jboss.org/people/anil.saldhana] created the discussion
"PicketBox Development Chat Transcript"
To view the discussion, visit: https://community.jboss.org/message/759932#759932
--------------------------------------------------------------
Anil and Pedro.
(08:36:43 AM) asaldhan: psilva: discuss status of each project. we then can do checkpoints
(08:36:53 AM) asaldhan: https://docs.jboss.org/author/display/SECURITY/SecurityProjectsArchitecture
(08:36:57 AM) asaldhan: psilva: pl-idm
(08:37:10 AM) psilva: asaldhan: you start ?
(08:37:58 AM) asaldhan: psilva: for LDAP binding - if the attributes being searched are only custom attributes, then all the users have to be checked. Large data sets, this is a problem. Need to bring in a cache (like hibernate 2nd level cache)
(08:38:20 AM) asaldhan: psilva: apart from that, pl-idm ldap binding is fine.
(08:38:29 AM) asaldhan: psilva: wdyt about jpa?
(08:38:56 AM) asaldhan: psilva: pl-idm configuration builders need 2nd look
(08:39:10 AM) psilva: asaldhan: jpa is fine. we have creation of users, roles, queries, membership, groups. And query of users, groups, memberships, roles.
(08:39:28 AM) ***asaldhan is going to capture all of this in a pbox dev thread.
(08:39:29 AM) psilva: asaldhan: the main issue i see with pl-idm are the undefined points along the code ....
(08:39:48 AM) ***asaldhan says pl-idm is ready for checkpoint release
(08:39:58 AM) psilva: asaldhan: like the IM x IS linkage, some TODOs in the code, duplicated/ambiguos methods, etc. ..
(08:40:07 AM) asaldhan: psilva: yeah.
(08:40:17 AM) asaldhan: psilva: some methods dont make sense. we need to discuss them.
(08:40:23 AM) psilva: asaldhan: +1
(08:40:40 AM) psilva: asaldhan: another point is create a idm example app ...
(08:40:47 AM) asaldhan: UserQuery.executeQuery(UserQuery) can go into recursive stack overflow
(08:41:06 AM) asaldhan: psilva: right. we can get viliam to update his idm jquery app too
(08:41:19 AM) psilva: asaldhan: yeah ... only the executeQuery() solves the problem ... and this goes to all query interfaces ..
(08:41:28 AM) psilva: asaldhan: cool
(08:41:52 AM) asaldhan: psilva: PL CDI. shane checkpointed. we dont need changes, right?
(08:42:29 AM) psilva: asaldhan: until now, no ....
(08:42:35 AM) asaldhan: psilva: ok.
(08:42:50 AM) asaldhan: psilva: pb CDI
(08:44:06 AM) psilva: asaldhan: pb-cdi is fine, i think. i had simplified the config for the PL-IDM support. we have authc and authz, idm to load roles, PL-IDM IdentityManager is exposed to that users can work with it, etc ...
(08:44:45 AM) psilva: asaldhan: need to see with the aerogear guys if what we have is enough ...
(08:45:02 AM) psilva: asaldhan: i was doing some small changes, will commit later ...
(08:49:04 AM) psilva: asaldhan: one important point IMO, is that we need to review the pb-core for PL-IDM native support ...
(08:49:54 AM) asaldhan: psilva: right.
(08:50:26 AM) asaldhan: psilva: as a developer, you work in an environment with CDI and without CDI.
(08:50:34 AM) asaldhan: psilva: like you may be in tomcat without CDI.
(08:50:42 AM) asaldhan: psilva: in that case, he should use pb-core directly.
(08:50:51 AM) asaldhan: psilva: if he has CDI enabled, then he should go pb-cdi.
(08:50:58 AM) asaldhan: psilva: wdyt?
(08:51:15 AM) psilva: asaldhan: agree ..
(08:51:26 AM) asaldhan: psilva: people will ask this question
(09:16:28 AM) psilva: asaldhan: i was looking to support EL expressions with authorization annotations .... wdyt ?
(09:18:17 AM) asaldhan: psilva: regular expressions should be fine. But ideally they should just use drools, right?
(09:18:37 AM) asaldhan: psilva: externalized authz is powerful. No need to change code.
(09:19:34 AM) psilva: asaldhan: i agree, but it can be an alternative, more simple to use (not drools dependencies, config, etc) ...
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759932#759932]
Start a new discussion in PicketBox Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[JBoss AS 7 Development] - Datasource configuration from Tomcat
by Julien Pardons
Julien Pardons [https://community.jboss.org/people/jpardons] created the discussion
"Datasource configuration from Tomcat"
To view the discussion, visit: https://community.jboss.org/message/759834#759834
--------------------------------------------------------------
Hello,
I'm importing .war package in JBoss 7 and I have some problem with the JNDI Name.
In Tomcat, I have this configuration:
<Resource
name="jdbc/EPCISDB"
type="javax.sql.DataSource"
auth="Container"
username="epcis"
password="******"
driverClassName="com.mysql.jdbc.Driver"
defaultAutoCommit="false"
url="jdbc:mysql://localhost:3306/epcis?autoReconnect=true">
</Resource>
I tried a lot of solution, but I still get an error on the deployment:
{"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"epcis-repository-0.5.1-SNAPSHOT\".\"epcis-repository-0.5.1-SNAPSHOT\".env.jdbc.EPCISDB missing [ jboss.naming.context.java.jboss.resources.jdbc.EPCISDB ]"]}}}
<datasource jndi-name="java:jboss/datasources/env/jdbc/EPCISDB" pool-name="comp/env/jdbc/EPCISDB" enabled="true" jta="true" use-java-context="true" use-ccm="true">
<connection-url>
jdbc:mysql://localhost:3306/epcis?autoReconnect=true
</connection-url>
<driver>
mysql
</driver>
<security>
<user-name>
epcis
</user-name>
<password>
******
</password>
</security>
</datasource>
I have tries this name:
java:jboss/datasources/env/jdbc/EPCISDB
java:jboss/datasources/comp/env/jdbc/EPCISDB
java:jboss/datasources/jdbc/EPCISDB
I the config file, I found many different name too:
# the name of the JNDI datasource holding the connection to the database
jndi.datasource.name=java:comp/env/jdbc/EPCISDB
<property name="jndiName" value="jdbc/EPCISDB" />
<resource-ref>
<res-ref-name>jdbc/EPCISDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Somebody got a solution for me ?
Thanks !
Julien
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759834#759834]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[JBoss AS 7 Development] - AS7 Management Console 2.0
by Heiko Braun
Heiko Braun [https://community.jboss.org/people/heiko.braun] modified the document:
"AS7 Management Console 2.0"
To view the document, visit: https://community.jboss.org/docs/DOC-47385
--------------------------------------------------------------
In relation to http://hbraun.info/2012/09/web-console-architecture-future-directions/ http://hbraun.info/2012/09/web-console-architecture-future-directions/
h2. Possible approaches
* GWT Composition
Build time, lowest common denominator, based on building blocks but manual plumbing
* Plugin descriptiors
Abstract model, relies on fixed schema (DMR metadata+UI properties), fixed set of supported traits, can be consumed by many clients
* Runtime extensions
Applicable to both options above. Removes compile time dependecy.
h2. Requirements, Ideas, Nice-to-Have
||
|| *Desc* || *Type* ||
|
| The UI must be able to dynamically render model elements based solely upon its predefined description (the description may (and probably often will) include UI-specific elements to give "hints" to the renderer; i.e. 0 lines of XHTML is better than 10) (note that AS8 descriptions are likely to be more robust and easier to produce than AS7) |
|
|
| The UI must provide (or work with) a mechanism by which multi-step tasks (so-called "wizards") can be defined and subsequently rendered for specific model element types, such that these operations may be automatically associated with their corresponding model elements (even better if the task metadata were reusable by other tools e.g. CLI) |
|
|
| Using these tools it should be possible to generate UIs on many platforms (GWT, Swing, iOS/Android, maybe JON, maybe third-party mgmt tools, ???) which all look, act, and "feel" as similar as possible |
|
|
| i18n |
|
|
| Authorisation & Authentication |
|
|
| 508 compliance |
|
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-47385]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 4 months