Skip to content

Commit

Permalink
Removed references to Hudson in strings / comments
Browse files Browse the repository at this point in the history
  • Loading branch information
theit committed Sep 23, 2011
1 parent 1a3e2d5 commit da34101
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 23 deletions.
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
crowd2-plugin for Hudson / Jenkins
==================================
crowd2-plugin for Jenkins
=========================

This plugin delegates the authentication to a remote Crowd server
(http://www.atlassian.com/software/crowd). With this setting, users can
Expand Down
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
<packaging>hpi</packaging>

<name>Crowd 2 Integration</name>
<description>
SecurityRealm that enables the use of Atlassian's Crowd identity management server.
</description>
<description>SecurityRealm that enables the use of Atlassian's Crowd identity management server.</description>

<url>http://wiki.jenkins-ci.org/display/JENKINS/Crowd+2+Plugin</url>

Expand Down Expand Up @@ -54,7 +52,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<version>2.3.2</version><!--$NO-MVN-MAN-VER$-->
<configuration>
<source>1.6</source>
<target>1.6</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
import com.atlassian.crowd.exception.UserNotFoundException;

/**
* This class implements the authentication manager for Hudson / Jenkins.
* This class implements the authentication manager for Jenkins.
*
* @author <a href="mailto:[email protected]">Thorsten Heit ([email protected])</a>
* @since 07.09.2011
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public class CrowdConfigurationService {
CrowdHttpAuthenticator crowdHttpAuthenticator;

/**
* The group name a user must belong to to be allowed to login into Hudson /
* Jenkins.
* The group name a user must belong to to be allowed to login into Jenkins.
*/
String groupName;

Expand Down Expand Up @@ -119,7 +118,7 @@ public CrowdConfigurationService(String pGroupName, boolean pNestedGroups) {

/**
* Checks whether the user is a member of a certain Crowd group whose
* members are allowed to login into Hudson / Jenkins.
* members are allowed to login into Jenkins.
*
* @param username
* The name of the user to check. May not be <code>null</code>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Authentication autoLogin(HttpServletRequest request,
.findUserFromSSOToken(ssoToken);

// check whether the user is a member of the user group in Crowd
// that specifies who is allowed to login into Hudson / Jenkins
// that specifies who is allowed to login into Jenkins
if (this.configuration.isGroupActive()
&& this.configuration.isGroupMember(user.getName())) {
// user is authenticated and validated
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/de/theit/jenkins/crowd/CrowdSecurityRealm.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
import com.atlassian.crowd.service.client.ClientPropertiesImpl;

/**
* This class provides the Hudson / Jenkins security realm for authenticating
* users against a remote Crowd server.
* This class provides the Jenkins security realm for authenticating users
* against a remote Crowd server.
*
* @author <a href="mailto:[email protected]">Thorsten Heit ([email protected])</a>
* @since 06.09.2011
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* This class realizes a servlet filter that checks on each request the status
* of the SSO session. If the session isn't valid anymore, the user is logged
* out automatically, and vice-versa: If there's a SSO session but the user
* isn't logged in into Hudson / Jenkins, (s)he is automatically logged in.
* isn't logged in into Jenkins, (s)he is automatically logged in.
*
* @author <a href="mailto:[email protected]">Thorsten Heit ([email protected])</a>
* @since 09.09.2011
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ public CrowdUserDetailsService(CrowdConfigurationService pConfiguration) {
@Override
public UserDetails loadUserByUsername(String username)
throws UsernameNotFoundException, DataAccessException {
// check whether the Hudson / Jenkins user group in Crowd exists and is
// active
// check whether the Jenkins user group in Crowd exists and is active
if (!this.configuration.isGroupActive()) {
throw new DataRetrievalFailureException(
userGroupNotFound(this.configuration.groupName));
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/de/theit/jenkins/crowd/ErrorMessages.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public static String applicationAccessDenied(String username) {

/**
* Returns the localized error message when the group of users that are
* allowed to login into Hudson / Jenkins does not exist or is not active.
* allowed to login into Jenkins does not exist or is not active.
*
* @param username
* The user name. May not be <code>null</code>.
Expand All @@ -223,15 +223,15 @@ public static String userGroupNotFound(String username) {

/**
* Returns the localized error message when a user does not have the
* permission to login into Hudson / Jenkins.
* permission to login into Jenkins.
*
* @param username
* The user name. May not be <code>null</code>.
* @param groupname
* The name of the group. May not be <code>null</code>.
*
* @return The localized error message when a user does not have the
* permission to login into Hudson / Jenkins.
* permission to login into Jenkins.
*/
public static String userNotValid(String username, String groupname) {
return holder.format("userNotValid", username, groupname);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
The name of the Crowd group to which a user must belong to to be allowed
to login into Hudson / Jenkins.
to login into Jenkins.
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
Der Name der Gruppe in Crowd, zu der ein Benutzer geh&ouml;ren muss,
damit er sich bei Hudson / Jenkins anmelden darf.
damit er sich bei Jenkins anmelden darf.
</div>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div>
Delegates the authentication to a remote
<a href="http://www.atlassian.com/crowd">Crowd-Server</a>.
With this setting, users will be logged in into Hudson / Jenkins by entering
With this setting, users will be logged in into Jenkins by entering
their Crowd username and password.

<p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div>
Delegiert die Authentifizierung an einen
<a href="http://www.atlassian.com/crowd">Crowd-Server</a>.
Mit dieser Einstellung melden sich Benutzer an Hudson / Jenkins mit
Mit dieser Einstellung melden sich Benutzer an mit
ihren in Crowd hinterlegten Benutzernamen und -Passw&ouml;rtern an.

<p>
Expand Down

0 comments on commit da34101

Please sign in to comment.