public.javadoc.org.spincast.plugins.undertow.SpincastHttpAuthIdentityManager.html Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of spincast-website Show documentation
                Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
                
            
SpincastHttpAuthIdentityManager (org.spincast:spincast-framework 0.9.21 API) 
org.spincast.plugins.undertow
Class SpincastHttpAuthIdentityManager
- java.lang.Object
 
- 
- org.spincast.plugins.undertow.SpincastHttpAuthIdentityManager
 
 
- 
- All Implemented Interfaces:
 
- io.undertow.security.idm.IdentityManager, ISpincastHttpAuthIdentityManager
 
public class SpincastHttpAuthIdentityManager
extends Object
implements ISpincastHttpAuthIdentityManager
Implementation of the ISpincastHttpAuthIdentityManager
 based on a simple Map.
 
- 
- 
Constructor Summary
Constructors  
Constructor and Description 
 
SpincastHttpAuthIdentityManager()
Constructor.
 
 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods  
Modifier and Type 
Method and Description 
 
void 
addUser(String username,
       String password)
Adds a user to this identity manager.
 
 
protected io.undertow.security.idm.Account 
createAccount(String username)  
 
protected Map<io.undertow.security.idm.PasswordCredential,io.undertow.security.idm.Account> 
getAccounts()  
 
protected Map<String,io.undertow.security.idm.PasswordCredential> 
getCredentials()  
 
void 
removeAllUsers()
Removes all users from this identity manager.
 
 
void 
removeUser(String username)
Removes a user from this identity manager.
 
 
io.undertow.security.idm.Account 
verify(io.undertow.security.idm.Account account)  
 
io.undertow.security.idm.Account 
verify(io.undertow.security.idm.Credential credential)  
 
io.undertow.security.idm.Account 
verify(String username,
      io.undertow.security.idm.Credential credential)  
 
 
 
- 
- 
Constructor Detail
- 
SpincastHttpAuthIdentityManager
public SpincastHttpAuthIdentityManager()
Constructor.
 
 
- 
Method Detail
- 
getAccounts
protected Map<io.undertow.security.idm.PasswordCredential,io.undertow.security.idm.Account> getAccounts()
 
- 
addUser
public void addUser(String username,
                    String password)
Description copied from interface: ISpincastHttpAuthIdentityManager
Adds a user to this identity manager.
- Specified by:
 
addUser in interface ISpincastHttpAuthIdentityManager 
 
- 
createAccount
protected io.undertow.security.idm.Account createAccount(String username)
 
- 
removeUser
public void removeUser(String username)
Description copied from interface: ISpincastHttpAuthIdentityManager
Removes a user from this identity manager.
- Specified by:
 
removeUser in interface ISpincastHttpAuthIdentityManager 
 
- 
removeAllUsers
public void removeAllUsers()
Description copied from interface: ISpincastHttpAuthIdentityManager
Removes all users from this identity manager.
- Specified by:
 
removeAllUsers in interface ISpincastHttpAuthIdentityManager 
 
- 
verify
public io.undertow.security.idm.Account verify(io.undertow.security.idm.Account account)
- Specified by:
 
verify in interface io.undertow.security.idm.IdentityManager 
 
- 
verify
public io.undertow.security.idm.Account verify(io.undertow.security.idm.Credential credential)
- Specified by:
 
verify in interface io.undertow.security.idm.IdentityManager 
 
- 
verify
public io.undertow.security.idm.Account verify(String username,
                                               io.undertow.security.idm.Credential credential)
- Specified by:
 
verify in interface io.undertow.security.idm.IdentityManager 
 
 
 
Copyright © 2016. All rights reserved.
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy