Some useful resources and info for the
OpsAdmin project.
LDAP
- Resources on Java API's for LDAP management
- "Information about attributes, attribute matching rules, and relationships between [ldap] objectclasses are defined in the server's schema. Any attribute can have one or more values, depending on how it is defined the schema. A user, for example, can have more than one email address. There is also a special attribute called an objectclass that specifies the required and allowed attributes for a particular entry." source
Let's get our hands on that schema so we know the exact current specifications of our domain objects? Edit: here it is :)
- Brief intro to ldap.
- Spring LDAP
- Wonderful tutorial
Important!
To make a secure connection to your ldap-server, a server-specific certificate is needed. OpsAdmin developers can use the
following steps to get it and add it to their keystore
IMAP
- Resources on Java API for IMAP management
WebDAV? , .ics files
Wicket
Tips, tricks and weird wicket stuff that is important to know
The wicket component
Palette takes 6 parameters, two of which are ArrayLists. One holds user choices, the other holds all the options the user can choose from. If one of those is not changeable you have to use the
valueOf method of the
Model class to convert it to a List the component can work with.
For example this:
Arrays.asList(SomeValues);
When used in the Palette constructor, will throw:
java.lang.UnsupportedOperationException
at java.util.AbstractList.remove(AbstractList.java:172)
at java.util.AbstractList$Itr.remove(AbstractList.java:437)
at java.util.AbstractList.removeRange(AbstractList.java:662)
at java.util.AbstractList.clear(AbstractList.java:258)
at wicket.extensions.markup.html.form.palette.Palette.updateModel(Palette.java:434)
at wicket.extensions.markup.html.form.palette.Palette$2.updateModel(Palette.java:244)
.
.
.
There are other pecularities too. Palette needs a
ChoiceRenderer, but the API fails to mention that a ChoiceRenderer used in a Palette has to define both a displayExpression (what the user sees)
and an idExpression. (ChoiceRenderers can also be constructed with only the latter or without any parameters).
--
IvanaCace - 26 Mar 2007
resources
--
FlaviaPaganelli - 0 keytool -import -alias app02-ca -keystore /etc/java-1.5.0-sun/security/cacerts -file /etc/ldap/cert/app02-ca-public.pem
5 Mar 2007
Topic revision: r10 - 22 Dec 2008 - 10:38:15 -
IvanaCace