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:
parent
318e1f0ea6
commit
6c64232c50
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue