Hi all,
I'm looking for some xwiki forums to discuss issues around xwiki.
German language would be nice.
I searched with google but could not find any.
Hello!
I did not found any information regarding mentioned field
(xWikiDocument.getCustomClass(), XWD_CUSTOM_CLASS) in documentation. Can I
use it for my purposes safely?
More specifically, I need to implement multiple inheritance of documents
and I need any field in document that can be used to hold document's
primary class.
Thanks in advance for replies.
I found out that Xwiki SAML module from
https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-a…
differs significantly from what I have. It works according to:
http://docs.oasis-open.org/wsfed/federation/v1.2/os/ws-federation-1.2-spec-…
And is implemented in .Net:
http://msdn.microsoft.com/en-us/library/ee517291.aspxhttp://msdn.microsoft.com/en-us/library/bb498017.aspxhttp://msdn.microsoft.com/en-us/library/bb608217.aspx
Even though by standard I should use location parameter in response
parameters, actually it can be invoked with GET/POST parameters, e.g.
simply by following:
https://...gov.lv/.../default.aspx?wa=wsignin1.0&wtrealm=http%3A%2F%
2F11.22.33.44%2Fxwiki
where gov.lv is authentication federation service, and 11.22.33.44 is
my xwiki site.
Then after authentication service redirects back to xwiki with POST
parameters:
wa=
wsignin1.0
wresult=
=========================
<trust:RequestSecurityTokenResponseCollection
xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
<trust:RequestSecurityTokenResponse>
<trust:Lifetime>
<wsu:Created
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-…">2013-04-11T12:41:15.525Z</wsu:Created>
<wsu:Expires
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-…">2013-04-11T13:41:15.525Z</wsu:Expires>
</trust:Lifetime>
<wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
<Address>http://11.22.33.44/xwiki</Address>
</EndpointReference>
</wsp:AppliesTo>
<trust:RequestedSecurityToken>
<saml:Assertion MajorVersion="1" MinorVersion="1"
AssertionID="_05d753b3-3f4c-4709-ad74-bdce19fb23c2"
Issuer="http://...gov.lv/trust"
IssueInstant="2013-04-11T12:41:15.525Z"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
<saml:Conditions NotBefore="2013-04-11T12:41:15.525Z"
NotOnOrAfter="2013-04-11T13:41:15.525Z">
<saml:AudienceRestrictionCondition>
<saml:Audience>http://11.22.33.44/xwiki</saml:Audience>
</saml:AudienceRestrictionCondition>
</saml:Conditions>
<saml:AttributeStatement>
<saml:Subject>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer
</saml:ConfirmationMethod>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Attribute AttributeName="privatepersonalidentifier"
AttributeNamespace="http://schemas.xmlsoap.org/ws/2005/05/identity/claims">
<saml:AttributeValue>112233-12345</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute AttributeName="givenname"
AttributeNamespace="http://schemas.xmlsoap.org/ws/2005/05/identity/claims">
<saml:AttributeValue>VALDIS</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute AttributeName="surname"
AttributeNamespace="http://schemas.xmlsoap.org/ws/2005/05/identity/claims">
<saml:AttributeValue>VĪTOLIŅŠ</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
<saml:AuthenticationStatement
AuthenticationMethod="URN:..."
AuthenticationInstant="2013-04-11T12:41:15.525Z">
<saml:Subject>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer
</saml:ConfirmationMethod>
</saml:SubjectConfirmation>
</saml:Subject>
</saml:AuthenticationStatement>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
<ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<ds:Reference URI="#_05d753b3-3f4c-4709-ad74-bdce19fb23c2">
<ds:Transforms>
<ds:Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<ds:DigestValue>HU3/uQFbvSciSkPXxQURI+hUkNU=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>...
</ds:SignatureValue>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>...
</X509Certificate>
</X509Data>
</KeyInfo>
</ds:Signature>
</saml:Assertion>
</trust:RequestedSecurityToken>
...Bla, bla, bla...
=============================
Am I right, that I need to change:
1. showLogin() where most of authRequest.set... seems unnecessary,
2. checkSAMLResponse() where I need to do
request.getParameter("wresult") and somehow extract out necessary data
and check them from this XML.
Thanks for any hints!
Valdis
Sorry for coming back with a new question on this. I think I'm getting closer to understand how RSS feeds work in XWiki, but I do need the help of the community.
I'm now usinga XE 4.3 installation. I'm able to customize <channel> elements easily by editing, for instance, Main.WebRss, but, please, how to customize <item> elements? For instance, how to customize <description> element?
Thank you so much for your help!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
I want to integrate xwiki login with my active directory login.Basically i
want to use same credentials for xwiki that i am using for window
login.Here is my ldap configuration(as per examples given at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authenticationhttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCa…
)
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=10.215.30.20
xwiki.authentication.ldap.port=389
// all other values i have kept default
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=
xwiki.authentication.ldap.UID_attr=cn
But when i login to xwiki with my window credentials , i get below
error(though i am able to ping
10.215.30.20 server):-
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
bind failed with LDAPException.
Wrapped Exception: Invalid Credentials
Any idea what can be probable reason for this?
Hello,
I'm trying to install the Extension Repository Application in my wiki,
in order to test importing, updating, and installation of my own
extension (before pushing it to xwiki.org)
I'm on xwiki 4.1.4.
When trying to install the ExRApp from extension manager, it fails to
find a dependency
(xwiki-platform-extension-repository-xwiki-server-api):
>From the install plan logs, the following returns 404:
"GET http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.plat…
HTTP/1.1[\r][\n]"
That seems normal since it's not published to the extension repository
on xwiki.org.
After that I suppose it tries the next configured repository (xwiki
nexus) but that also fails:
Could not find extension dependency
[org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
in repository [maven-xwiki
(http://nexus.xwiki.org/nexus/content/groups/public)]
class org.xwiki.extension.ResolveException: Failed to resolve
extension [org.xwiki.platform:xwiki-platform-extension-repository-xwiki-server-api-4.1.4]
descriptor
at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveMaven(AetherExtensionRepository.java:317)
at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolve(AetherExtensionRepository.java:168)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:168)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.resolveExtension(AbstractInstallPlanJob.java:712)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:577)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:552)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:743)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:662)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:386)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:333)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:236)
at org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134)
at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156)
at java.lang.Thread.run(Thread.java:619)
Caused by: $throwable.class: null
Surprising, because it's there on http://nexus.xwiki.org ...
Thanks for help,
Jeremie
Side Note: I was a bit surprised to see that updating logback.xml to
have most logs at "debug" level, impacts the install plan displayed by
the extension manager. For example now it dumps all details of
performed http requests, and I'm pretty sure it didn't with untouched
logback.xml. Not sure if I find it nice or not, but I wondered if this
is expected... I suppose it's because extension manager captures part
of the logs.
I have installed xwiki for testing on a windows 7 box using
xwiki-enterprise-installer-windows-4.2.exe. The installation is very simple,
but I can't get to xwiki after starting the server.
The default port is 8080 and just in case there was a conflict I changed it
to 8084 (in the start bat file, it's now set JETTY_PORT=8084). Still no luck
after restarting via the desktop icons.
For example using firefox to http://localhost:8084/xwiki I get
Unable to connect
Firefox can't establish a connection to the server at localhost:8084.
It must be a common problem, but I don't find much on this topic.
--
View this message in context: http://xwiki.475771.n2.nabble.com/No-luck-with-xwiki-enterprise-installer-w…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I'm facing a problem with changing configuration of registration/validation
method.
Here is the scenario that I'm attempting to make without succes.
When a new user make registration I would like that an Administrator User
receive an Mail, in which, there is a link for validation the account of
the user. After making this validation, the user receives an email for
informing him that the validation is done and his account is accessible.
What currently XWiki propose, is when a new user make registration, she/he
receives an email for validating her/his new account; the validation is
done by her/himself
Anyone could hlep or lead me to the documentation? I would like to know if
this can be by just configuation in preferences or it whether it need
progmming stuffs to do.
Thanks you in advances.
Best regards
Youcef BEY
The XWiki development team is proud to announce the availability of
XWiki 5.0 Milestone 2.
This release introduces some important changes like the new security
module by default, XWiki is now always in virtual mode, JQuery is
embedded by default, xwiki/1.0 syntax is now disabled and lots of
other improvements.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki50M2
Thanks
-The XWiki dev team