Changes for page User Authentication

Last modified by Simon Urli on 2023/12/11

From version 1.12
edited by VikasJindal
on 2007/05/21
Change comment: There is no comment for this version
To version 1.14
edited by ShawnLauzon
on 2007/06/15
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VikasJindal
1 +XWiki.ShawnLauzon
Content
... ... @@ -82,3 +82,34 @@
82 82  xwiki.authentication.authclass = com.acme.MyCustomAuthenticationService
83 83  {code}
84 84  
85 +1.1 Authentication parameters
86 +
87 +You can set each of these parameters by setting:
88 +
89 +{code}
90 +xwiki.authentication.~~param_name~~=~~param_value~~
91 +{code}
92 +
93 +{table}
94 +Name | Optional | Allowed values | Default value | Description
95 +cookiedomains | Yes | String | Server host name | Which host(s) should your cookies be sent to; use only if you want to share cookies across domains, otherwise should be commented out
96 +cookielife | Yes | Number | 14 | Number of days cookies take to expire
97 +cookiepath | Yes | String | / | The webapp path that XWiki cookies should be sent to; if you have anything else running on your web server, this should be set to ~~/xwiki~~
98 +protection | Yes | all, validation, encryption, none | all | Protection level for the "remember me" functionality
99 +realname | Yes | String | XWiki | Sets the realm name (should be ~~realmname~~???)
100 +unauthorized_code | Yes | ? | ? | ?
101 +default_page | Yes | String | /bin/view/Main/WebHome | Page to redirect to if
102 +xredirect parameter is not set
103 +loginpage | Yes | String | /bin/login/XWiki/XWikiLogin | Page to redirect to when not logged in
104 +logoutpage | Yes | String | /bin/logout/XWiki/XWikiLogout | Page to redirect to after logged out
105 +errorpage | Yes | String | /bin/loginerror/XWiki/XWikiLogin | Page to redirect to if there is an error logging in
106 +useip | Yes | true / false | true | Specify to use the IP address when encrypting the cookie data; if IP address changes will need to re-login.
107 +encryptionalgorithm | Yes | ? | ? | Set the Encryption Algorithm used to encrypt and decrypt cookies
108 +encryptionmode | Yes | ? | ? | Set the Encryption Mode used to encrypt and decrypt cookies
109 +encryptionpadding | Yes | ? | ? | Set the Encryption Padding used to encrypt and decrypt cookies
110 +validationKey | No* | ? | n/a | Set the Validation Key used to generate hash value; the hash value is stored with the cookie and used to verify that the cookie has not been tampered with.
111 +encryptionKey | No** | ? | n/a | Set the Encryption Key used to create a secret key, the secret key is passed to the Cipher object to be used during encryption and decryption of cookie values.
112 +loginsubmitpage | Yes | String | /loginsubmit/XWiki/XWikiLogin |
113 +{table}
114 +* Only required if protection = encryption or all (the default)
115 +** Only required if protection = validation or all (the default)
XWiki.XWikiComments[1]
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.xko
1 +XWiki.BSayatovic
Comment
... ... @@ -1,3 +1,1 @@
1 -Can anyone explain, how to build user's wikiname from LDAP fields? I suppose ldap_UID_attr or ldap_fields_mapping should do the job.
2 -
3 -I managed to login with AD credentials, and now I have DENHOLM_INDUSTRIES\\morism in the upper-right conner, but I beleive it should be MorisMoss.
1 +I had a similar experience. I configured the LDAP authentication to go against Active Directory. While the authentication uses Active Directory, all of the other data that XWiki uses doesn't leverage the values from Active Directory. For example, the name displayed in the top-right corner is that from the XWiki user account, not the displayName from activeDirectory.
Date
... ... @@ -1,1 +1,1 @@
1 -2007-04-02 16:52:10.0
1 +2007-05-09 15:38:42.0
XWiki.XWikiComments[2]
Comment
... ... @@ -1,1 +1,1 @@
1 -I had a similar experience. I configured the LDAP authentication to go against Active Directory. While the authentication uses Active Directory, all of the other data that XWiki uses doesn't leverage the values from Active Directory. For example, the name displayed in the top-right corner is that from the XWiki user account, not the displayName from activeDirectory.
1 +I had hoped setting up XWiki 1.0RC3 with LDAP/ActiveDirectory authentication meant that users present in my directory would automatically be able to log into XWiki; however, this is not the case. Users from LDAP/AD can't log in until I first register reate an XWiki User for them under the same name.
Date
... ... @@ -1,1 +1,1 @@
1 -2007-05-09 15:38:42.0
1 +2007-05-09 15:39:42.0
XWiki.XWikiComments[0]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.xko
Comment
... ... @@ -1,0 +1,3 @@
1 +Can anyone explain, how to build user's wikiname from LDAP fields? I suppose ldap_UID_attr or ldap_fields_mapping should do the job.
2 +
3 +I managed to login with AD credentials, and now I have DENHOLM_INDUSTRIES\\morism in the upper-right conner, but I beleive it should be MorisMoss.
Date
... ... @@ -1,0 +1,1 @@
1 +2007-04-02 16:52:10.0

Get Connected