> [High performance due dictionary matching tree](#Why Is High Performance)
> High performance due dictionary matching tree
> Good extension interface, demo and document.
> The low configuration of sureness, easy to expand, and not coupled with other frameworks, enables developers to quickly and safely protect their projects in multiple scenarios.
Sureness currently supports these two types for the time being, and will continue to expand other basic authentication methods in the future.
Of course, you can easily customize the authentication method,detail[Custom Subject](en/custom-subject.md)
Of course, you can easily customize the authentication method, detail [Custom Subject](en/custom-subject.md)
We provide the demo to use default authentication method, detail please refer to [10 Minute Tutorial's Program--sample-bootstrap](en/sample-bootstrap.md)
Also we provide the demo to custom authentication method, detail please refer to [30 Minute Tutorial's Program--sample-tom](en/sample-tom.md)
`sureness` uses the exception handling process, we need to customize the corresponding exceptions thrown by the authentication failure or unauthorized access in the authentication process of `checkIn`.
If the configuration resource data comes from text, please refer to [10 Minute Tutorial's Program--sample-bootstrap](https://github.com/tomsun28/sureness/tree/master/sample-bootstrap)
If the configuration resource data comes from dataBase, please refer to [30 Minute Tutorial's Program--sample-tom](https://github.com/tomsun28/sureness/tree/master/sample-tom)
If the configuration resource data comes from text, please refer to [10 Minute Tutorial's Program--sample-bootstrap](en/sample-bootstrap.md)
If the configuration resource data comes from dataBase, please refer to [30 Minute Tutorial's Program--sample-tom](en/sample-tom.md)