public class WrappingFtpSecurityManager extends Object implements SecurityManager, UserService
| Constructor and Description |
|---|
WrappingFtpSecurityManager(SecurityManager wrapped) |
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticate(DigestResponse dr)
Authenticate a digest request
|
Object |
authenticate(String string,
String string1) |
boolean |
authorise(Request rqst,
Request.Method method,
Auth auth,
Resource rsrc)
Check that the authenticater user can access the given resource for the
given method.
|
void |
delete(String name)
Not supported
|
boolean |
doesExist(String name)
Not supported
|
String[] |
getAllUserNames()
Not supported
|
String |
getRealm(String string) |
MiltonUser |
getUserByName(String name,
String domain) |
boolean |
isDigestAllowed() |
void |
save(MiltonUser user)
Save the user.
|
public WrappingFtpSecurityManager(SecurityManager wrapped)
public void delete(String name)
delete in interface UserServicename - public boolean doesExist(String name)
doesExist in interface UserServicename - public String[] getAllUserNames()
getAllUserNames in interface UserServicepublic MiltonUser getUserByName(String name, String domain)
getUserByName in interface UserServicename - - milton form of the username E.g. user@authoritydomain - - the domain to login intopublic void save(MiltonUser user)
UserServicesave in interface UserServicepublic Object authenticate(DigestResponse dr)
SecurityManagerauthenticate in interface SecurityManagerDigestGeneratorpublic Object authenticate(String string, String string1)
authenticate in interface SecurityManagerpublic boolean authorise(Request rqst, Request.Method method, Auth auth, Resource rsrc)
SecurityManagerauthorise in interface SecurityManagerrqst - - the request itselfmethod - - the request methodauth - - authentication object representing the current userrsrc - - the resource being operated onpublic String getRealm(String string)
getRealm in interface SecurityManagerpublic boolean isDigestAllowed()
isDigestAllowed in interface SecurityManagerCopyright © 2021 McEvoy Software Ltd. All rights reserved.