remove Object principal

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412685 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-11-22 21:55:43 +00:00
parent 318e1f0ea6
commit 6c64232c50
1 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ import org.apache.archiva.redback.users.User;
*/
public class AuthorizationDataSource
{
Object principal;
private String principal;
User user;
@ -34,14 +34,14 @@ public class AuthorizationDataSource
Object resource;
public AuthorizationDataSource( Object principal, User user, Object permission )
public AuthorizationDataSource( String principal, User user, Object permission )
{
this.principal = principal;
this.user = user;
this.permission = permission;
}
public AuthorizationDataSource( Object principal, User user, Object permission, Object resource )
public AuthorizationDataSource( String principal, User user, Object permission, Object resource )
{
this.principal = principal;
this.user = user;
@ -49,7 +49,7 @@ public class AuthorizationDataSource
this.resource = resource;
}
public Object getPrincipal()
public String getPrincipal()
{
return principal;
}