Skip to content

Commit

Permalink
JENKINS-22402 do not store authorities in the config.xml
Browse files Browse the repository at this point in the history
JENKINS-22402
The authorities of each user are not required in the config.xml of
Jenkins and just blowing up the file.
  • Loading branch information
chrissy25 committed Mar 28, 2014
1 parent 687cbdd commit 4bc4c84
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -201,8 +201,9 @@ public class ReverseProxySecurityRealm extends SecurityRealm {

/**
* The authorities that are granted to the authenticated user.
* It is not necessary, that the authorities will be stored in the config.xml, they blow up the config.xml
*/
public GrantedAuthority[] authorities;
public transient GrantedAuthority[] authorities = new GrantedAuthority[0];

/**
* The name of the header which the username has to be extracted from.
Expand Down

0 comments on commit 4bc4c84

Please sign in to comment.